normality.loop {tabledown} | R Documentation |
A Function for computing univariate normality test on data frame.
Description
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.
Usage
normality.loop(df, bonf = TRUE, alpha = 0.05)
Arguments
df |
A data frame. |
bonf |
If TRUE a bonferonni correction will be conducted. |
alpha |
Desired alpha. |
Value
Provides normality tests results for all columns in a wide data frame in a list format.
Examples
data <- tabledown::Rotter[, 11:31]
normality.loop(data)
[Package tabledown version 1.0.0 Index]