Learn R Programming

nlist (version 0.4.0)

nlist: Create nlist Object

Description

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

Usage

nlist(...)

Value

An nlist object.

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.

See Also

nlists()

Examples

Run this code
nlist()
nlist(x = 1)
nlist(y = 1:4, zz = matrix(1:9, 3))

Run the code above in your browser using DataLab