Learn R Programming

nlist (version 0.1.1)

as.mcmc.list.nlists: As mcmc Object

Description

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

Usage

as.mcmc.list.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.list(nlists(
  nlist(x = matrix(1:6, 2)),
  nlist(x = matrix(3:8, 2))
))
# }

Run the code above in your browser using DataLab