View source: R/remove_outliers.R
remove_outliers | R Documentation |
Function to remove outliers in a data frame.
remove_outliers(df, x, coef = 10)
df |
Data frame |
x |
Numeric vector within |
coef |
A coefficient which determines the classification of an outlier. Use 0 for no outliers to be identified. |
Shona Wilde
## Not run:
df %>% group_by(variable) %>% remove_outliers(value)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.