Description Usage Arguments Value Methods (by class) See Also Examples
Coerce an R object to an nlist_object()
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | as_nlist(x, ...)
as.nlist(x, ...)
## S3 method for class 'numeric'
as_nlist(x, ...)
## S3 method for class 'list'
as_nlist(x, ...)
## S3 method for class 'data.frame'
as_nlist(x, ...)
## S3 method for class 'mcmc'
as_nlist(x, ...)
## S3 method for class 'mcmc.list'
as_nlist(x, ...)
as.nlists(x, ...)
|
x |
An object. |
... |
Unused. |
An nlist object.
numeric
: Coerce named numeric vector to nlist
list
: Coerce list to nlist
data.frame
: Coerce data.frame to nlist
mcmc
: Coerce mcmc (with one iteration) to nlist
mcmc.list
: Coerce mcmc.list (with one iteration) to nlist
Other coerce:
as_nlists()
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.