pdims.term_rcrd: Parameter Dimensions

View source: R/pdims.R

pdims.term_rcrdR Documentation

Parameter Dimensions

Description

Gets the dimensions of each parameter of an object.

Usage

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

Arguments

x

An object.

...

Other arguments passed to methods.

Details

Errors if the parameter dimensions are inconsistent.

Value

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

See Also

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

Examples

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

term documentation built on Sept. 29, 2022, 5:14 p.m.