Learn R Programming

fmri (version 1.9.12.1)

setmask: Add or replace mask in an fmridata object

Description

The function replaces the information in the mask component of an fmridata object.

Usage

setmask(fmriobj, mask)

Value

on object of class 'fmridata'.

Arguments

fmriobj

object of class 'fmridata'

mask

object of class 'array' or 'nifti'

Author

Joerg Polzehl polzehl@wias-berlin.de

Details

The dimensions of both objects supplied as arguments need to be compatible.

See Also

oro2fmri, niftiImage2fmri, read.NIFTI, read.AFNI, read.ANALYZE