Get the length of a given dimension of an object
Source:R/all_generic.R
, R/neurospace.R
dim_of-methods.Rd
This function returns the length of a given axis (dimension) of an object. The axis can be specified using its position or name.
Examples
x <- NeuroSpace(c(10,10,10), spacing=c(1,1,1))
stopifnot(dim_of(x, x@axes@i) == 10)