as.mcmc.rjags {mcmcplots}R Documentation

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

Description

Converts an rjags object to an mcmc object.

Usage

## 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

## None ##

[Package mcmcplots version 0.4.3 Index]