Learn R Programming

oro.nifti (version 0.11.4)

nsli: Dimension Accessor Functions

Description

Functions to extract the higher dimensions from ANALYZE/NIfTI data.

Usage

nsli(x)

NSLI(x)

ntim(x)

NTIM(x)

Value

Third (slice) or fourth (time) dimension of the array.

Arguments

x

is a three- or four-dimensional array (e.g., read in from an ANALYZE/NIfTI file).

Author

Brandon Whitcher bwhitcher@gmail.com

Details

Simple calls to dim to replicate the functionality of nrow and ncol for higher dimensions of an array that are commonly required when manipulating medical imaging data.

See Also

readNIfTI, readANALYZE