as_mcmc_list {nlist} | R Documentation |
Coerce to an mcmc.list Object
Description
Coerce an R object to an mcmc.list object.
Usage
as_mcmc_list(x, ...)
## S3 method for class 'mcmc'
as_mcmc_list(x, ...)
## S3 method for class 'nlist'
as_mcmc_list(x, ...)
## S3 method for class 'nlists'
as_mcmc_list(x, ...)
Arguments
x |
An object. |
... |
Unused. |
Value
An mcmc.list object.
Methods (by class)
-
mcmc
: Coerce an mcmc object to an mcmc.list object. -
nlist
: Coerce an nlist object to an mcmc.list object. -
nlists
: Coerce an nlists object to an mcmc.list object.
See Also
Other mcmc:
as_mcmc()
Examples
as_mcmc_list(nlist(x = matrix(1:6, 2)))
as_mcmc_list(nlists(
nlist(x = matrix(1:6, 2)),
nlist(x = matrix(3:8, 2))
))
[Package nlist version 0.3.3 Index]