leverage {fMRIscrub} | R Documentation |
Leverage
Description
Computes the leverage of each observation in the PC score (U) or IC mixing (M) matrix for projection scrubbing. Can threshold to flag potential outliers.
Usage
leverage(Comps, are_norm = FALSE, median_cutoff = NULL)
Arguments
Comps |
The |
are_norm |
Assume the columns of |
median_cutoff |
The outlier cutoff, in multiples of the median leverage.
Default: |
Value
A list with entries "meas"
(the leverage values),
"cut"
(the leverage cutoff value) and
"flag"
(logical vector indicating the outliers). If
!is.null(median_cutoff)
, "cut"
and "flag"
are omitted.
[Package fMRIscrub version 0.14.5 Index]