Learn R Programming

mcmcr (version 0.0.2)

bind_dimensions: Combine two MCMC objects by dimensions

Description

Combines multiple MCMC objects (with the same parameters, chains and iterations) by parameter dimensions.

Usage

bind_dimensions(x, x2, along = NULL, ...)

# S3 method for mcmcarray bind_dimensions(x, x2, along = NULL, ...)

# S3 method for mcmcr bind_dimensions(x, x2, along = NULL, ...)

Arguments

x

An MCMC object.

x2

a second MCMC object.

along

A count (or NULL) indicating the parameter dimension to bind along.

...

Unused.

Methods (by class)

  • mcmcarray: Binds two mcmcarray objects by their dimensions

  • mcmcr: Binds two mcmcr objects by their dimensions

See Also

bind_dimensions_n

Examples

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

Run the code above in your browser using DataLab