drop_dim-AxisSet2D-missing-method: Drop dimension from axis set

drop_dim,AxisSet2D,missing-methodR Documentation

Drop dimension from axis set

Description

Drop dimension from axis set

Usage

## S4 method for signature 'AxisSet2D,missing'
drop_dim(x, dimnum)

Arguments

x

An AxisSet2D object

dimnum

Numeric index of dimension to drop (optional)

Value

An axis set with one fewer dimension

Examples

## Not run: 
axes2d <- AxisSet2D(LEFT_RIGHT, ANT_POST)
axes1d <- drop_dim(axes2d)  # Drop first dimension

## End(Not run)

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