# NOT RUN {
# Example 1: Testing multivariate normality on iris.virginica
# iris.virginica contains a set of measurements corresponding to
# Iris virginica of famous iris data set.
iris.virginica <- as.matrix(iris[iris$Species == "virginica", 1:4], ncol = 4)
mvshapiro_test(iris.virginica)
# Example 2: Testing multivariate normality on the goats dataset
data(goats)
mvshapiro_test(as.matrix(goats))
# }
Run the code above in your browser using DataLab