Description
Using functionality from package rjags the JAGS model is created and
posterior draws are sampled.
Usage
JAGScall(model, y, prefix, control, ...)
Value
Returns a "JAGSrun"
object.
Arguments
- model
JAGSmodel
object or output from BMMmodel
.
- y
a numeric vector.
- prefix
character: prefix for .bug-file.
- control
named list or JAGScontrol
object.
- ...
additional parameters handed over to BMMmodel
.