as_nlist.mcmcr {mcmcr}R Documentation

Coerce to nlist

Description

Coerce an R object to an nlist_object().

Usage

## S3 method for class 'mcmcr'
as_nlist(x, ...)

Arguments

x

An object.

...

Unused.

Value

An nlist object.

Methods (by class)

See Also

Other coerce: as_nlists()

Examples

as_nlist(list(x = 1:4))
as_nlist(c(`a[2]` = 3, `a[1]` = 2))

[Package mcmcr version 0.6.1 Index]