STOCfree_JAGS | R Documentation |
JAGS implementation of the STOC free model
STOCfree_JAGS( STOCfree_data, n_chains = 4, n_burnin = 5000, n_iter = 5000, n_thin = 20, method = "parallel", save_model = TRUE, save_data = FALSE, save_output = TRUE, save_inits = TRUE, out_path = "STOCfree_files", ... )
STOCfree_data |
a STOC free data object |
n_chains |
number of MCMC chains |
n_burnin |
number of burnin iterations |
n_iter |
number of iterations to monitor |
n_thin |
thinning interval for monitors |
method |
method to be passed to the runjags::run.jags() function. Default is parallel. |
save_data |
if TRUE, the data are saved to 'out_path' as a .RData file |
save_output |
if TRUE, the JAGS model output is saved to out_path in a tidy format using the tidybayes package |
save_inits |
if TRUE initial values are written to 'out_path' as a text file |
out_path |
folder where model code and output are saved. By default, a STOCfree_files folder is created in the working directory |
... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.