ndim-AxisSet-method: Get number of dimensions in axis set

ndim,AxisSet-methodR Documentation

Get number of dimensions in axis set

Description

Get number of dimensions in axis set

Usage

## S4 method for signature 'AxisSet'
ndim(x, ...)

Arguments

x

An AxisSet object

...

Additional arguments (not used)

Value

Integer number of dimensions

Examples

## Not run: 
axes <- AxisSet2D(LEFT_RIGHT, ANT_POST)
ndim(axes)  # Returns 2

## End(Not run)

bbuchsbaum/neuroim2 documentation built on Jan. 2, 2025, 3:38 p.m.