Learn R Programming

mcmcr (version 0.0.2)

bind_parameters: Combine two MCMC object by parameters

Description

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

Usage

bind_parameters(x, ...)

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

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

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

Arguments

x

an MCMC object

...

unused

x2

a second MCMC object

Methods (by class)

  • mcmc: Binds two mcmc objects by their parameters

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

  • mcmcr: Binds two mcmcr objects by their parameters

Examples

Run this code
# NOT RUN {
bind_parameters(subset(mcmcr_example, parameters = "sigma"),
  subset(mcmcr_example, parameters = "beta"))
# }

Run the code above in your browser using DataLab