save_mcmc_sample: Save an MCMC sample

View source: R/save_mcmc_sample.R

save_mcmc_sampleR Documentation

Save an MCMC sample

Description

Save an MCMC sample

Usage

save_mcmc_sample(
  mcmc_samples,
  rec_ind,
  path,
  parmat,
  param_blocks,
  initdist_objects,
  tparam,
  tparam_inds,
  method
)

Arguments

mcmc_samples

list with objects for recording MCMC samples

rec_ind

C++ record index

path

latent path

param_blocks

list of parameter blocks

initdist_objects

list of initial distribution objects

tparam

list with time-varying parameters

method

method for approximating the latent epidemic, either "lna" or "ode"

Value

inserts all parameters into their respective MCMC record


fintzij/stemr documentation built on March 25, 2022, 12:25 p.m.