Learn R Programming

MultBiplotR (version 23.11.0)

Bartlett.Tests: Bartlett tests

Description

Bartlett tests foor the columns of a matrix and a grouping variable

Usage

Bartlett.Tests(X, groups = NULL)

Value

A matrix with the tests for each column

Arguments

X

A data frame or a matrix containing several numerical variables

groups

A factor with the groups

Author

Jose Luis Vicente Villardon

Details

Bartlett tests foor the columns of a matrix and a grouping variable

References

Bartlett, M. S. (1937). "Properties of sufficiency and statistical tests". Proceedings of the Royal Statistical Society, Series A 160, 268-282 JSTOR 96803

Examples

Run this code
# \donttest{
data(wine)
Bartlett.Tests(wine[,4:8], groups = wine$Origin)# }

Run the code above in your browser using DataLab