Learn R Programming

term (version 0.3.5)

pdims.term_rcrd: Parameter Dimensions

Description

Gets the dimensions of each parameter of an object.

Usage

# S3 method for term_rcrd
pdims(x, ...)

Value

A named list of integer vectors of the dimensions of each parameter.

Arguments

x

An object.

...

Other arguments passed to methods.

Details

Errors if the parameter dimensions are inconsistent.

See Also

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

Examples

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

Run the code above in your browser using DataLab