View source: R/fit_all_models.R
fit_all_models | R Documentation |
This function is a wrapper for the fit_model
function, which is used
to fit the individual models in the paper.
fit_all_models( data_list, params_to_monitor = NULL, n.chains = 1, n.adapt = 100, n.burn = 10, n.iter = 10, n.thin = 1, mcmc_params_paper = FALSE, fix_seed = FALSE )
data_list |
list of data from |
params_to_monitor |
character vector indicating which parameters should be saved from the MCMC samples |
n.chains |
integer representing the number of MCMC chains to run |
n.adapt |
integer representing the number of MCMC iterations to adapt the sampler |
n.burn |
integer representing the number of MCMC iterations to discard before saving samples |
n.iter |
integer representing the number of MCMC iterations to save |
n.thin |
integer representing the number of MCMC iterations to thin |
mcmc_params_paper |
logical. should we fit the model using the MCMC parameters described in the paper? |
fix_seed |
logical. should the seed be set for reproducible results? |
list, elements of class rjags::mcarray
rjags documentation for fitting models with rjags
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.