JAGScall: Call jags

View source: R/JAGScall.R

JAGScallR 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


bayesmix documentation built on April 14, 2023, 12:27 a.m.

Related to JAGScall in bayesmix...