as.mcmcr {mcmcr} | R Documentation |
Convert to an mcmcr object
Description
Converts an MCMC object to an mcmcr-object()
.
Usage
as.mcmcr(x, ...)
## S3 method for class 'mcarray'
as.mcmcr(x, name = "par", ...)
## S3 method for class 'mcmcarray'
as.mcmcr(x, name = "par", ...)
## S3 method for class 'nlist'
as.mcmcr(x, ...)
## S3 method for class 'nlists'
as.mcmcr(x, ...)
## S3 method for class 'mcmc'
as.mcmcr(x, ...)
## S3 method for class 'mcmc.list'
as.mcmcr(x, ...)
## S3 method for class 'mcmcrs'
as.mcmcr(x, ...)
Arguments
x |
An MCMC object. |
... |
Unused. |
name |
A string specifying the parameter name. |
Value
An mcmcr object.
Methods (by class)
-
mcarray
: Convert an mcarray object to an mcmcr object -
mcmcarray
: Convert anmcmcarray-object()
to an mcmcr object -
nlist
: Convert annlist::nlist-object()
to an mcmcr object -
nlists
: Convert annlist::nlists-object()
to an mcmcr object -
mcmc
: Convert ancoda::mcmc()
object to an mcmcr object -
mcmc.list
: Convert ancoda::mcmc.list()
object to an mcmcr object -
mcmcrs
: Convert tanmcmcrs-object()
to an mcmcr object
See Also
Other coerce:
as.mcarray()
,
as.mcmcarray()
,
mcmcrs()
Examples
mcmc.list <- coda::as.mcmc.list(mcmcr::mcmcr_example)
as.mcmcr(mcmc.list)
[Package mcmcr version 0.6.1 Index]