npdims.term {term} | R Documentation |
Number of Dimensions of Each Parameter
Description
Usage
## S3 method for class 'term'
npdims(x, terms = FALSE, ...)
Arguments
x |
An object. |
terms |
A flag specifying whether to get the number of dimensions for each term element. |
... |
Other arguments passed to methods. |
Value
A named integer vector of the number of dimensions of each parameter.
See Also
Other dimensions:
dims()
,
ndims()
,
pdims()
Examples
npdims(term("alpha[1]", "alpha[3]", "beta[1,1]", "beta[2,1]"))
[Package term version 0.3.5 Index]