Description Usage Arguments Value
Fits a Bayesian model using jags and R2jags
1 2 3 4 5 6 7 8 9 | fit.jagsMod(
mod.dat,
init.fun,
params,
burnin,
n.iter,
init.value.warning,
n.tries
)
|
mod.dat |
the model data to use for the model fit |
init.fun |
the init function to use for the model fit |
params |
a vector of names indicating the parameters to trace during the jags fit. |
burnin |
the number of iterations to use as burnin. |
n.iter |
the number of iterations to run following burnin for the initial jags fit. Defaults to 500 + burnin, |
init.value.warning |
indicates if a warning should be given if the init.fun generated fails. |
n.tries |
the number of tries to attempt to fit the model and attain good chain mixing. See details below. |
The fitted jags model output
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.