as_nlist.mcmcr: Coerce to nlist

Description Usage Arguments Value Methods (by class) See Also Examples

View source: R/as-nlist.R

Description

Coerce an R object to an nlist_object().

Usage

1
2
## 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

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

mcmcr documentation built on Sept. 7, 2021, 1:07 a.m.