Remove or mask outliers based on quantiles in each group
1 | .fix_outliers(data, y, lower_quantile, upper_quantile, drop_outliers, groups)
|
data |
data frame containing dataset to use for plotting |
lower_quantile |
lower quantile beyond which to limit axis |
upper_quantile |
upper quantile beyond which to limit axis |
drop_outliers |
whether to drop outliers or not - if FALSE, then outliers are masked to the lower or upper quantile values |
groups |
columns which to group on in computing outliers |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.