Gets the dimensions of each parameter of an object.
# S3 method for class 'term_rcrd'
pdims(x, ...)
A named list of integer vectors of the dimensions of each parameter.
Errors if the parameter dimensions are inconsistent.
pdims(as_term_rcrd(term("alpha[1]", "alpha[3]", "beta[1,1]", "beta[2,1]")))
#> $alpha
#> [1] 3
#>
#> $beta
#> [1] 2 1
#>