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