Learn R Programming

mcmcr (version 0.2.0)

collapse_chains: Collapse Chains

Description

Collapses an MCMC object's chains into a single chain.

Usage

collapse_chains(x, ...)

# S3 method for default collapse_chains(x, ...)

# S3 method for mcmc.list collapse_chains(x, ...)

# S3 method for mcmcr collapse_chains(x, ...)

Arguments

x

An MCMC object.

...

Unused.

Methods (by class)

  • default: Collapse an MCMC object's chains into a single chain

  • mcmc.list: Collapse an mcmc.list object's chains into a single chain

  • mcmcr: Collapse an mcmcr object's chains into a single chain

Examples

Run this code
# NOT RUN {
collapse_chains(mcmcr_example)
# }

Run the code above in your browser using DataLab