create_analysis_obj function

Compile MCMC sampler using STAN and create analysis object