| assumptions_manova | R Documentation |
Determine two assumptions for the MANOVA test: a) multivariate normality of each group; b) homogeneity of covariance matrices.
assumptions_manova(data, factors)
data |
Data used for the MANOVA test (rows correspond to observations, columns to dependent variables). |
factors |
Groups to which rows of |
An object of class assumptions_manova which is a list
containing two elements:
mvntestList of results from the Royston multivariate
normality test (mvn), one result per
group.
vartestResult of Box's M test for homogeneity of covariance
matrices (boxM).
This function requires the MVN and biotools packages.
# 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])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.