Learn R Programming

nlist (version 0.1.1)

npdims.nlist: Number of Parameter Dimensions

Description

Gets the number of dimensions of each natomic_object() in an nlist_object().

Usage

# S3 method for nlist
npdims(x, ...)

Arguments

x

The nlist object

...

Unused.

Value

A named list of the number of dimensions of each numeric atomic object.

See Also

pdims()

Examples

Run this code
# NOT RUN {
term::npdims(nlist(x = 1:3))
term::npdims(nlist(y = 3, zz = matrix(2:5, 2)))
# }

Run the code above in your browser using DataLab