RVAideMemoire (version 0.9-81-2)

mshapiro.test: Shapiro-Wilk multivariate normality test

Description

Performs a Shapiro-Wilk test to asses multivariate normality. This is a slightly modified copy of the mshapiro.test function of the package mvnormtest, for internal convenience.

Usage

mshapiro.test(x)

Arguments

x

a data frame or a matrix of numeric variables (each column giving a variable).

Value

method

name of the test.

data.name

a character string giving the names of the data.

statistic

test statistics of the test.

p.value

p-value of the test.

See Also

shapiro.test, mshapiro.test

Examples

Run this code
# NOT RUN {
x <- 1:30+rnorm(30)
y <- 1:30+rnorm(30,1,3)
mshapiro.test(cbind(x,y))
# }

Run the code above in your browser using DataLab