Gets the number of the dimensions of each parameter of an object.
The default methods returns the length of each element of pdims()
as an integer vector.
npdims(x, ...)
# S3 method for default
npdims(x, ...)
An object.
Other arguments passed to methods.
A named integer vector of the number of dimensions of each parameter.