View source: R/save_mcmc_sample.R
save_mcmc_sample | R Documentation |
Save an MCMC sample
save_mcmc_sample( mcmc_samples, rec_ind, path, parmat, param_blocks, initdist_objects, tparam, tparam_inds, method )
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" |
inserts all parameters into their respective MCMC record
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.