pdims.term {term}R Documentation

Parameter Dimensions

Description

Gets the dimensions of each parameter of an object.

Usage

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

Arguments

x

An object.

...

Other arguments passed to methods.

Details

Errors if the parameter dimensions are invalid or inconsistent.

A named list of the dimensions of each parameter can be converted into the equivalent term-vector() using term().

Value

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

See Also

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

Examples

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

[Package term version 0.3.5 Index]