R/image.R
ndim.Rd
This function is shorthand for length(dim(object)).
length(dim(object))
ndim(object)
An R object.
The dimensionality of the object. Objects without a dim attribute will produce zero.
dim
Jon Clayden <code@clayden.org>
ndim(array(0L, dim=c(10,10))) #> [1] 2