View source: R/collapse-chains.R
collapse_chains.mcmc | R Documentation |
Collapses an MCMC object's chains into a single chain.
## S3 method for class 'mcmc'
collapse_chains(x, ...)
x |
An object. |
... |
Other arguments passed to methods. |
As mcmc objects can only have 1 chain the object is unchanged.
The modified object with one chain.
Other collapse:
collapse_chains.nlist()
,
collapse_chains.nlists()
collapse_chains(as_mcmc(nlist(x = 2)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.