id_outliers | R Documentation |
This function identifies outliers using mean and SD or median and interquartile range
id_outliers(y, outlier_method = "iqr", outlier_cutoff = 5)
y |
a numeric vector from which outlier indexes will be identified. |
outlier_method |
a single string character of "iqr" or "sd" to determine if outlier should be determined by means and sd or medians and iqr. |
outlier_cutoff |
a single numeric value to define a cutoff value for how many iqr or sd units outlier values. |
returns vector indicating the index of an outlier(s).
id_outliers()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.