Learn R Programming

mcmcr (version 0.6.1)

as.mcmcrs: Convert to an mcmcrs object

Description

Converts an MCMC object to an mcmcrs-object().

Usage

as.mcmcrs(x, ...)

# S3 method for list as.mcmcrs(x, ...)

# S3 method for mcmcr as.mcmcrs(x, name = "mcmcr1", ...)

Arguments

x

An MCMC object.

...

Unused.

name

A string specifying the element name.

Value

An mcmcrs object.

Methods (by class)

  • list: Convert a list of [mcmcr-object]s to an mcmcrs object

  • mcmcr: Convert an mcmcr-object() to an mcmcrs object

Examples

Run this code
# NOT RUN {
as.mcmcrs(mcmcr::mcmcr_example)
# }

Run the code above in your browser using DataLab