| tl_detect_outliers | R Documentation |
Detect outliers in the data
tl_detect_outliers(
data,
variables = NULL,
method = "iqr",
threshold = NULL,
plot = TRUE
)
data |
A data frame containing the data |
variables |
Character vector of variables to check for outliers |
method |
Method for outlier detection: "boxplot", "z-score", "cook", "iqr", "mahalanobis" |
threshold |
Threshold for outlier detection |
plot |
Logical; whether to create a plot of outliers |
A list with outlier detection results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.