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

Description Usage Arguments Value

View source: R/preproc.R

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

1
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 Feb. 8, 2021, 5:06 p.m.

Related to preproc in detectR...