Description Usage Arguments Details Value
find_outlier
returns the index of a vector where outliers occur.
Outliers are defined as values that exceed the number of standard
deviations passed to the function as a threshold
value.
1 | find_outlier(x, threshold = 3)
|
x |
A numeric vector of values |
threshold |
Indices of values that are farther from the mean
than the |
The function[sd_pop()]
is used to obtain the population standard
deviation. This function will remove NA and NaN values.
A numeric vector of the indices of outliers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.