Learn R Programming

universals (version 0.0.1)

collapse_chains: Collapse Chains

Description

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

Usage

collapse_chains(x, ...)

Arguments

x

An object.

...

Other arguments passed to methods.

Value

The modified object with one chain.

See Also

Other MCMC manipulations: bind_chains(), estimates(), split_chains()

Examples

Run this code
# NOT RUN {
collapse_chains.foobar <- function(x, ...) {
  NotYetImplemented()
  # replace with code to collapse_chains for an object of class 'foobar'
}
# }

Run the code above in your browser using DataLab