powered by
Gets the dimensions of each parameter of an object.
# S3 method for term pdims(x, ...)
A named list of integer vectors of the dimensions of each parameter.
An object.
Other arguments passed to methods.
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().
term-vector()
term()
Other dimensions: dims(), ndims(), npdims()
dims()
ndims()
npdims()
pdims(term("alpha[1]", "alpha[3]", "beta[1,1]", "beta[2,1]"))
Run the code above in your browser using DataLab