cifti.subset.dim: Subset one dimension of an array.

View source: R/read_cifti.R

cifti.subset.dimR Documentation

Subset one dimension of an array.

Description

Subset one dimension of an array.

Usage

cifti.subset.dim(data, dim, selection)

Arguments

data

the array to subset.

dim

integer, the dimension to subset.

selection

integer vector or NULL, the indices to keep.

Value

the subset, with the dimensions of data preserved.


freesurferformats documentation built on Sept. 25, 2026, 1:07 a.m.