as_nlist.mcmcr: Coerce to nlist

Description Usage Arguments Value Methods (by class) 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)

Examples

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

mcmcr documentation built on Feb. 11, 2021, 5:06 p.m.