nlist: Create nlist Object

Description Usage Arguments Details Value Examples

View source: R/nlist.R

Description

Creates a nlist_object() from one of more uniquely named numeric arguments.

Usage

1

Arguments

...

Uniquely named numeric objects.

Details

An nlist object is an S3 class list of uniquely named numeric elements.

nlist objects are the raw data inputs for analytic engines such as JAGS, STAN and TMB.

Value

An nlist object.

Examples

1
2
3
nlist()
nlist(x = 1)
nlist(y = 1:4, zz = matrix(1:9, 3))

nlist documentation built on Feb. 7, 2021, 1:07 a.m.