R/variable.R
ndim.Rd
ndim() is the number of dimensions; shape() is the named integer vector of dimension lengths.
ndim()
shape()
ndim(x) shape(x)
A Variable or DataArray
ndim(): an integer. shape(): a named integer vector.