Learn R Programming

term (version 0.3.5)

npdims.term: Number of Dimensions of Each Parameter

Description

The terms argument is [Defunct].

Usage

# S3 method for term
npdims(x, terms = FALSE, ...)

Value

A named integer vector of the number of dimensions of each parameter.

Arguments

x

An object.

terms

A flag specifying whether to get the number of dimensions for each term element.

...

Other arguments passed to methods.

See Also

Other dimensions: dims(), ndims(), pdims()

Examples

Run this code
npdims(term("alpha[1]", "alpha[3]", "beta[1,1]", "beta[2,1]"))

Run the code above in your browser using DataLab