| normality.loop | R Documentation |
This function will compute normality on entire data set. Sometime in dlookr package p values turns out to be null thus failing to test normality of the data set. This is a good alternative of dlookr function. Here normality is tested using shapiro.test from base stats.
normality.loop(df, bonf = TRUE, alpha = 0.05)
df |
A data frame. |
bonf |
If TRUE a bonferonni correction will be conducted. |
alpha |
Desired alpha. |
Provides normality tests results for all columns in a wide data frame in a list format.
data <- tabledown::Rotter[, 11:31] normality.loop(data)