R/anomaly.R
anomaly.Rd
Flags values lying more than k standard deviations from the mean.
k
anomaly(x, k = 2)
A numeric vector.
Number of standard deviations for the threshold (default 2).
A list with caselist (logical outlier flags) and abnormal.values (the sorted flagged values).
caselist
abnormal.values