Learn R Programming

mcmcplots (version 0.4.3)

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

Description

Converts an rjags object to an mcmc object.

Usage

# S3 method for rjags
as.mcmc(x, …)

Arguments

x

rjags object

unused

Value

An mcmc.list or mcmc object.

Details

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

See Also

coda package.

Examples

Run this code
# NOT RUN {
## None ##
# }

Run the code above in your browser using DataLab