JAGScall {bayesmix}R Documentation

Calls jags

Description

Using functionality from package rjags the JAGS model is created and posterior draws are sampled.

Usage

JAGScall(model, y, prefix, control, ...)

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.

Value

Returns a "jags" object.

Author(s)

Bettina Gruen

See Also

JAGSrun


[Package bayesmix version 0.7-5 Index]