whichOutlier: [! DEPRECATED] Find indices of rows that contain outlier...

View source: R/0_whichOutlier.R

whichOutlierR Documentation

[! DEPRECATED] Find indices of rows that contain outlier column-wise outliersscores

Description

[! DEPRECATED] Return indices of rows in scores matrix that contain outliers. A row is treated as having an oultier if any autoscaled score in that row is not between \u00B1 zLimit.

Usage

whichOutlier(x, zLimit = 2)

Arguments

x

Matrix-like data.

zLimit

A threshold for standardized (scaled) values (i.e., z-scores) to be treated as an outlier. If (-zLimit) < scale(scores) or scale(scores) > (+zLimit) it is treated as an outlier.
Default zLimit = 2.

Value

Vector of indices that indicate rows containing outliers.

Author(s)

Vilmantas Gegzna

See Also

Other component analysis / factorisation related functions in spHelper: getScores(), infoDim(), plot_spDiff(), qplot_infoDim(), qplot_kAmp(), qplot_kSp(), qplot_spc(), reconstructSp(), sortLoadings(), unipeak()

Examples



whichOutlier(Scores2)
whichOutlier(Scores2,3)


GegznaV/spHelper documentation built on April 16, 2023, 1:42 p.m.