View source: R/nuisance_regression.R
nuisance_regression | R Documentation |
Performs nuisance regression. Important note: the data and design matrix must both be centered, or an intercept must be included in the design matrix.
nuisance_regression(Y, design)
Y |
The |
design |
The |
The data after nuisance regression.
Y <- matrix(rnorm(700), nrow=100)
design <- cbind(seq(100), 1)
nuisance_regression(Y, design)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.