remove_outliers: Function to remove outliers in a data frame.

View source: R/remove_outliers.R

remove_outliersR Documentation

Function to remove outliers in a data frame.

Description

Function to remove outliers in a data frame.

Usage

remove_outliers(df, x, coef = 10)

Arguments

df

Data frame

x

Numeric vector within df

coef

A coefficient which determines the classification of an outlier. Use 0 for no outliers to be identified.

Author(s)

Shona Wilde

Examples

## Not run: 

df %>% group_by(variable) %>% remove_outliers(value)


## End(Not run)


shonawilde/shonarrr documentation built on Jan. 29, 2025, 1:27 a.m.