outlier | R Documentation |
This function gets a vector and returns a vector of logical which is TRUE if the corresponding value is an outlier
outlier(x, sd_threshold = 4, recursive = F)
logical vector specifying which element of the given vector x
is outlier.
x
numeric
: Input vector
sd_threshold
numeric
: Standard Deviation threshold as a criteria for outlier determination.
recursive
logical
: TRUE if the process of outlier detection should continue with eliminated outliers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.