preproc: Optional preprocessing step for regressing out noise...

View source: R/preproc.R

preprocR Documentation

Optional preprocessing step for regressing out noise variables.

Description

This function saves the residuals after regressing the user-defined noise variables from the user-defined "signal" variables. Noise variables can be nuisance regressors (such as cebral spinal fluid in fMRI), time vectors, or any other vector that the user wishes to regress out.

Usage

preproc(Y, noise, signal)

Arguments

Y

data: Y = length*dim

noise

string vector indicating which variables (columns) are regressors

signal

string vector indicating which variables to regress out the noise variables from

Value

signalmatrix


detectR documentation built on June 22, 2024, 12:23 p.m.

Related to preproc in detectR...