detect_outliers_iqr | R Documentation |
Uses IQR to detect outliers in a data.frame
detect_outliers_iqr(df, key.name, var.name)
df |
A data.frame. |
key.name |
Character value. The variable that identifies each observation uniquely. |
var.name |
Character value. The numeric variable based on which outliers are detected. |
Character vector. The values from variable key.name
that
were identified as outliers. If not outliers exist the function returns
a character vector of length 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.