ndim: Number of dimensions

Description Usage Arguments Value Author(s) Examples

Description

This function is shorthand for length(dim(object)).

Usage

1
ndim(object)

Arguments

object

An R object.

Value

The dimensionality of the object. Objects without a dim attribute will produce zero.

Author(s)

Jon Clayden <code@clayden.org>

Examples

1
ndim(array(0L, dim=c(10,10)))


Search within the RNifti package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.