Gets the dimensions of an object.
# S3 method for term_rcrd
dims(x, ...)
An integer vector of the dimensions.
An object.
Other arguments passed to methods.
Unlike base::dim()
, dims returns the length of an atomic vector.
Other dimensions:
ndims()
,
npdims()
,
pdims()
dims(term_rcrd("beta[1,1]"))
dims(term_rcrd("beta[1,1]", "beta[1,2]"))
Run the code above in your browser using DataLab