JAGSread {bayesmix}R Documentation

Reads jags output into R

Description

Given an exit status of 0 when running jags the results are read in with read.jags

Usage

JAGSread(exit, transform = TRUE)

Arguments

exit exit status returned by JAGScall.
transform logical: if TRUE and possible, the variable tau is transformed into σ^2.

Details

After a successful run of jags the results are read in from the file "jags.out". If the exit status is positive the file "jags.dump" is read in and a warning is given.

Value

A list with the following components is returned:

results MCMC chains.
variables new variable names.

Author(s)

Bettina Gruen

See Also

read.jags, JAGSrun


[Package bayesmix version 0.6-0 Index]