powered by
This function is shorthand for length(dim(object)).
length(dim(object))
ndim(object)
The dimensionality of the object. Objects without a dim
dim
attribute will produce zero.
An R object.
Jon Clayden <code@clayden.org>
ndim(array(0L, dim=c(10,10)))
Run the code above in your browser using DataLab