This function checks for outliers or extreme values in a given dataframe.

check_outliers(df)

Arguments

df

A dataframe.

Value

A message indicating whether or not extreme values were found.

Examples

df <- data.frame(w = c(7, 8, 180, 7), x = c("a", "b", "c", "a"),
                 y = c(4, 5, -6, 4), z = c(7, 8, NA, 7))

check_outliers(df)
#> Extreme values found in the numerical columns of the data.