This function checks if the data is normally distributed for each numeric column in a data frame.

check_data_distribution(df)

Arguments

df

A data frame

Value

This function does not return anything, it only prints messages to the console.

Examples

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

check_data_distribution(df)
#> x column is not numeric.
#> y column is normally distributed.
#> z column is normally distributed.