detect_outliers_mahalanobis | R Documentation |
Uses mahalanobis distance to detect outliers in a data.frame
detect_outliers_mahalanobis(df, key.name, var.names = NULL)
df |
A data.frame. |
key.name |
Character value. The variable that identifies each observation uniquely with its value. |
var.names |
Character vector. The numeric variables according to which outliers are detected. If NULL, all numeric variable are chosen |
A data.frame with columns mahal, pval and <key.name>.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.