Learn R Programming

mcmcr (version 0.0.2)

bind_chains: Combine MCMC objects by chains.

Description

Combines two MCMC objects (with the same parameters and iterations) by chains.

Usage

bind_chains(x, x2, ...)

# S3 method for mcarray bind_chains(x, x2, ...)

# S3 method for mcmc bind_chains(x, x2, ...)

# S3 method for mcmc.list bind_chains(x, x2, ...)

# S3 method for mcmcarray bind_chains(x, x2, ...)

# S3 method for mcmcr bind_chains(x, x2, ...)

Arguments

x

an MCMC object.

x2

a second MCMC object

...

Unused.

Methods (by class)

  • mcarray: Binds two mcarray objects by their chains

  • mcmc: Binds two mcmc objects by their chains

  • mcmc.list: Binds two mcmc.list objects by their chains

  • mcmcarray: Binds two mcmcarray objects by their chains

  • mcmcr: Binds two mcmcr objects by their chains

Examples

Run this code
# NOT RUN {
bind_chains(mcmcr_example, mcmcr_example)
# }

Run the code above in your browser using DataLab