powered by
Gets the dimensions of each parameter of an object.
# S3 method for term_rcrd 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 inconsistent.
Other dimensions: dims(), ndims(), npdims()
dims()
ndims()
npdims()
pdims(as_term_rcrd(term("alpha[1]", "alpha[3]", "beta[1,1]", "beta[2,1]")))
Run the code above in your browser using DataLab