Learn R Programming

MultBiplotR (version 23.11.0)

NormalityTests: Normality tests

Description

Normality tests foor the columns of a matrix and a grouping variable.

Usage

NormalityTests(X, groups = NULL, plot = FALSE, SortByGroups = FALSE)

Value

The normality tests and the plots

Arguments

X

A data frame or a matrix containing several numerical variables

groups

A factor with the groups

plot

If TRUE the qqnorm plots are shown

SortByGroups

Should the results be sorted by groups?

Author

Jose Luis Vicente Villardon

Details

Normality tests foor the columns of a matrix and a grouping variable.

Examples

Run this code
data(wine)
NormalityTests(wine[,4:6], groups = wine$Origin, plot=TRUE)

Run the code above in your browser using DataLab