Description Usage Arguments Value
Computes the leverage of each observation in the PC score / IC mixing matrix (U/M) for projection scrubbing. Optionally can threshold the leverage values to flag potential outliers.
1 |
Comps |
The n by Q PC score matrix/IC mixing matrix. |
are_orthogonal |
Can the columns of |
median_cutoff |
The outlier cutoff, in multiples of the median leverage.
Default: |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.