DH.test(Y, Y.names = NULL)
Y
variables; should be a 1 x p character string.DH.test
also runs the Doornik-Hansen
test for both multivariate and univariate normality. The later test follows
directly from the work of Bowman and Shenton (1975), Shenton and Bowman (1977) and D'Agostino (1970).shapiro.test
, bv.boxplot
data(iris)#The unbiquitous multivariate iris data.
DH.test(iris[,1:4],Y.names=names(iris[,1:4]))
Run the code above in your browser using DataLab