Takes in a data.frame/tibble and returns a vector of names of the columns that are skewed.
Details
Takes in a data.frame/tibble and returns a vector of names of the skewed
columns. There are two other parameters. The first is the .threshold
parameter
that is set to the level of skewness you want in order to consider the column
too skewed. The second is .drop_keys
, these are columns you don't want to be
considered for whatever reason in the skewness calculation.
Examples
hai_skewed_features(mtcars)
#> [1] "mpg" "hp" "carb"
hai_skewed_features(mtcars, .drop_keys = c("mpg", "hp"))
#> [1] "carb"
hai_skewed_features(mtcars, .drop_keys = "hp")
#> [1] "mpg" "carb"