Flag any values that fall outside a specified range. By default, any observation more than 1.5x the interquartile range will be tagged. The 'clip_outliers' option controls whether values outside this range will be trimmed to the appropriate max or min.
1 2 | detect_outliers(df, col, outlier_threshold = 1.5,
clip_outliers = FALSE, flag_outliers_both_directions = FALSE)
|
df |
The data.frame to be transformed |
col |
The column of interest |
outlier_threshold |
Values more than |
clip_outliers |
If |
flag_outliers_both_directions |
If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.