Learn R Programming

neuroim (version 0.0.6)

loadVector: loadVector

Description

load an image volume from a file

Usage

loadVector(fileName, indices = NULL, mask = NULL)

Arguments

fileName
the name of the file to load
indices
the indices of the sub-volumes to load (e.g. if the file is 4-dimensional)
mask
a mask defining the spatial elements to load

Value

an BrainVector object