powered by
Normality tests foor the columns of a matrix and a grouping variable.
NormalityTests(X, groups = NULL, plot = FALSE, SortByGroups = FALSE)
The normality tests and the plots
A data frame or a matrix containing several numerical variables
A factor with the groups
If TRUE the qqnorm plots are shown
Should the results be sorted by groups?
Jose Luis Vicente Villardon
data(wine) NormalityTests(wine[,4:6], groups = wine$Origin, plot=TRUE)
Run the code above in your browser using DataLab