Learn R Programming

ciftiTools (version 0.3.1)

select_xifti: Select columns of a "xifti" object

Description

Select column indices to keep in a "xifti". Can also be used to reorder the columns.

Usage

select_xifti(xifti, idx, add_meta = "select")

Arguments

xifti

The "xifti" object.

idx

The column indices to keep, in order.

add_meta

Add idx to xifti$meta$cifti$misc[[add_meta]] for reference. Default: "select". If NULL or an empty string, do not add a metadata entry.

Value

The "xifti" with only the selected columns.