whichOutlier.Rd[! 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 1 zLimit.
whichOutlier(x, zLimit = 2)Matrix-like data.
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.
Vector of indices that indicate rows containing outliers.
Other component analysis / factorisation related functions in spHelper:
getScores(),
infoDim(),
plot_spDiff(),
qplot_infoDim(),
qplot_kAmp(),
qplot_kSp(),
qplot_spc(),
reconstructSp(),
sortLoadings(),
unipeak()
whichOutlier(Scores2)
#> Warning: 'whichOutlier' is deprecated.
#> Use 'outside_mean_pm_Nsd' instead.
#> See help("Deprecated") and help("spHelper-deprecated").
#> [1] 1 2 13 28 34 39 45 50 55 67 70 77 87 89 94 100 103 104 105
#> [20] 109 111 121 127 133 135 143 147 148
whichOutlier(Scores2,3)
#> Warning: 'whichOutlier' is deprecated.
#> Use 'outside_mean_pm_Nsd' instead.
#> See help("Deprecated") and help("spHelper-deprecated").
#> [1] 1