Gets the dimensions of each parameter of an object.
# S3 method for term
pdims(x, ...)
An object.
Other arguments passed to methods.
A named list of integer vectors of the dimensions of each parameter.
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()
.