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

drop_dim,AxisSet2D,numeric-methodR Documentation

Drop dimension from axis set

Description

Drop dimension from axis set

Usage

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

Arguments

x

An AxisSet2D or AxisSet3D object

dimnum

Numeric index of dimension to drop

Value

An axis set with one fewer dimension

Examples

## Not run: 
axes3d <- AxisSet3D(LEFT_RIGHT, ANT_POST, INF_SUP)
axes2d <- drop_dim(axes3d, 1)  # Drop first dimension

## End(Not run)

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