bind | R Documentation |
Combine two MCMC Objects
## S4 method for signature 'MCMC,MCMC'
cbind2(x, y)
x , y |
An |
An MCMC
object.
N. Frerebeau
Other mutators:
data.frame
,
names()
,
sort()
,
sort.list()
,
subset()
## Events
(eve <- as_events(mcmc_events, calendar = CE(), iteration = 1))
eve[1:1000, ] # Select the first 1000 iterations
eve[, 1:2] # Select the first 2 events
cbind2(eve[, 1:2], eve[, 3:4]) # Combine two MCMC objects
sort(eve, decreasing = TRUE) # Sort events in descending order
## Phases
(pha <- as_phases(mcmc_phases, start = c(1, 3), calendar = CE(), iteration = 1))
pha[1:1000, , ] # Select the first 1000 iterations
pha[, 1, , drop = FALSE] # Select the first phase
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.