Coerce an R object to an nlist_object()
.
# S3 method for class 'mcmcr'
as_nlist(x, ...)
An nlist object.
as_nlist(numeric)
: Coerce named numeric vector to nlist
as_nlist(list)
: Coerce list to nlist
as_nlist(data.frame)
: Coerce data.frame to nlist
as_nlist(mcmc)
: Coerce mcmc (with one iteration) to nlist
as_nlist(mcmc.list)
: Coerce mcmc.list (with one iteration) to nlist
Other coerce:
as_nlists()