Learn R Programming

nlist (version 0.1.1)

as.mcmc.nlist: As mcmc Object

Description

Coerces an nlist object to a coda::mcmc object.

Usage

as.mcmc.nlist(x, ...)

Arguments

x

A nlist object.

...

Unused.

Value

An mcmc object.

See Also

nlist-object() and coda::mcmc()

Examples

Run this code
# NOT RUN {
coda::as.mcmc(nlist(x = matrix(1:6, 2)))
# }

Run the code above in your browser using DataLab