Coerce an R object to an nlist_object().
Usage
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, ...)Methods (by class)
as_nlist(numeric): Coerce named numeric vector to nlistas_nlist(list): Coerce list to nlistas_nlist(data.frame): Coerce data.frame to nlistas_nlist(mcmc): Coerce mcmc (with one iteration) to nlistas_nlist(mcmc.list): Coerce mcmc.list (with one iteration) to nlist
See also
Other coerce:
as_nlists()
