Convert an rjags Object to an mcmc or mcmc.list Object.

Share:

Description

Converts an rjags object to an mcmc object.

Usage

1
2
## S3 method for class 'rjags'
as.mcmc(x, ...)

Arguments

x

rjags object

...

unused

Details

If x contains multiple chains, the function returns an mcmc.list object. Otherwise, the function returns an mcmc object.

Value

An mcmc.list or mcmc object.

Author(s)

S. McKay Curtis

See Also

coda package.

Examples

1
## None ##