Learn R Programming

freesurferformats (version 1.1.0)

cifti.check.index.list: 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)

Value

the indices as an integer vector.

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.