Learn R Programming

universals (version 0.0.1)

split_chains: Split Chains

Description

Splits each of an MCMC object's chains in half to double the number of chains and halve the number of iterations.

Usage

split_chains(x, ...)

Arguments

x

An object.

...

Other arguments passed to methods.

Value

The modified object.

See Also

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

Examples

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

Run the code above in your browser using DataLab