Last chance! 50% off unlimited learning
Sale ends in
Coerce an R object to an nlist_object()
.
# S3 method for mcmcr
as_nlist(x, ...)
An nlist object.
An object.
Unused.
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()
as_nlist(list(x = 1:4))
as_nlist(c(`a[2]` = 3, `a[1]` = 2))
Run the code above in your browser using DataLab