STOCfree_Stan | R Documentation |
Stan implementation of the STOC free model
STOCfree_Stan( STOCfree_data, n_chains = 4, n_iter = 1000, n_thin = 1, n_warmup = NULL, 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_iter |
number of iterations to monitor |
n_thin |
thinning interval for monitors |
n_warmup |
number of warmup iterations |
save_model |
if TRUE, the Stan model code is saved to 'out_path' |
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 |
The code used is an adaptation of Damiano et al. (2017): https://github.com/luisdamiano/stancon18
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.