Description Usage Format Examples
This is an example JAGS model to use for examples in the mmcc
package. The
model is fit as a basic linear regression, with uniform priors on beta0
and beta1, where y is assumed to be normal, with mean mu and precision
tau. The model is drawn from the vignette, "Model summaries for a
Bayesian linear regression", and the code to generate it can be found in
the data-raw
folder.
1 |
An object of class jags
of length 8.
1 2 3 4 | library(rjags)
example_jags_model$recompile()
model_dic <- dic.samples(example_jags_model, n.iter = 1000)
glance(model_dic)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.