powered by
Determine two assumptions for the MANOVA test: a) multivariate normality of each group; b) homogeneity of covariance matrices.
assumptions_manova(data, factors)
An object of class assumptions_manova which is a list containing two elements:
assumptions_manova
mvntest
List of results from the Royston multivariate normality test (mvn), one result per group.
mvn
vartest
Result of Box's M test for homogeneity of covariance matrices (boxM).
boxM
Data used for the MANOVA test (rows correspond to observations, columns to dependent variables).
Groups to which rows of data belong to (independent variables).
data
# Determine the assumptions of applying MANOVA to the iris data # (i.e. multivariate normality of each group and homogeneity of covariance # matrices) a <- assumptions_manova(iris[, 1:4], iris[, 5])
Run the code above in your browser using DataLab