JAGScall {bayesmix}R Documentation

Call 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 "JAGSrun" object.

Author(s)

Bettina Gruen

See Also

JAGSrun


[Package bayesmix version 0.7-6 Index]