Description Usage Arguments Value Author(s) Examples
Takes a matrix of voxels and a vector of behavior and runs fast regressions for each voxel. Covariates can be defined (i.e. age) to find the effect of each voxel on behavior within the context of other predictive factors.
1 | regresfast(X, y, covariates, hascovar = FALSE)
|
X |
matrix of voxlels (columns) for all subjects (rows). |
y |
vector of behavioral scores. |
covariates |
matrix with one or more columns. Must be of same length as behavior. This variable should always be set, and the next argument can tell if covariates should be used or not. |
hascovar |
logical to tell whether covariates should be used. |
List with:
statistic
- regression t-score
n
- number of subjects
kxfm
- degrees of freedom.
Dorian Pustina
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.