cifti.check.index.list: Check a vector of 0-based indices.

cifti.check.index.listR Documentation

Check a vector of 0-based indices.

Description

Check a vector of 0-based indices.

Usage

cifti.check.index.list(indices, what, max_index = NULL)

Arguments

indices

integer vector, the indices.

what

character string, a description of the indices, used in error messages.

max_index

integer or NULL, the largest allowed index.

Value

the indices as an integer vector.


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