run_jags_cjs | R Documentation |
Generate MCMC samples from the posteriors of a Bayesian Cormack Jolly-Seber model.
run_jags_cjs(
file_path = NULL,
jags_data = NULL,
n_chains = 4,
n_adapt = 1000,
n_burnin = 2500,
n_iter = 2500,
n_thin = 5,
params_to_save = c("phi", "p", "survship"),
rng_seed = 4
)
file_path |
name (with file path) to save the model as. Probably a .txt file |
jags_data |
list of data to be fed into the JAGS CJS model. Generated from |
n_chains |
the number of parallel chains for the model |
n_adapt |
the number of iterations for adaptation. If n_adapt = 0 then no adaptation takes place. |
n_burnin |
the number of iterations of the Markov chain to run during the burn-in phase |
n_iter |
the number of iterations to monitor |
n_thin |
the thinning interval for monitors |
params_to_save |
a character vector giving the names of variables to be monitored |
rng_seed |
random number generator seed, to make results reproducible |
... |
other parameters to be fed to |
mcmc.list
Kevin See and Mike Ackerman
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.