Learn R Programming

nlist (version 0.1.1)

as.mcmc.nlists: As mcmc Object

Description

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

Usage

as.mcmc.nlists(x, ...)

Arguments

x

A nlists object.

...

Unused.

Value

An mcmc object.

See Also

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

Examples

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

Run the code above in your browser using DataLab