kpi_outlier | R Documentation |
Get the outliers
kpi_outlier(kpitab, n_iqr = 2)
kpitab |
result from calc_kpi |
n_iqr |
number of IQRs below/above the lower/upper quartiles that should be considered outliers |
kpitab
with just the outliers
# data(mtcars)
# mtcars %>%
# kpi_calc("mpg", by = "am", kpi_fn = kpi_fn_median) %>%
# kpi_outlier()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.