shapiro_wilk: shapiro_wilk

Description Arguments Value Examples

Description

Conduct the Shapiro-Wilk test for every continuous variable in the data to test against normality

Arguments

data,

VECTOR, LIST, DATAFRAME, MATRIX, or ARRAY where data for each continous variable is in its respective column

Value

LIST where the first vector contains the test statistics and the second vector contains the p-values. Both are ordered same as column of input.

Examples

1
2
iris_data <- data.frame("length" = c(1,2,3,4,5,6,7,8), "width" = c(9,10,11,12,13,14,15,16))
shapiro_wilk(iris_data)

UBC-MDS/noRmtest documentation built on May 7, 2019, 7:14 p.m.