mc.norm {mt}R Documentation

Normality Test by Shapiro-Wilk Test

Description

Perform Shapiro-Wilk normality test by shapiro.test and plot the density function and boxplot.

Usage

mc.norm(x, ...)

Arguments

x

A matrix or data frame to be tested.

...

Additional arguments pass to shapiro.test.

Value

Object of shapiro.test, boxplot and histogram.

Author(s)

Wanchang Lin

See Also

maccest, mc.anova

Examples

data(iris)
x      <- subset(iris, select = -Species)
y      <- iris$Species
method <- c("randomForest","svm","pcalda","knn")
pars   <- valipars(sampling="boot", niter = 10, nreps=10)
res    <- maccest(x, y, method=method, pars=pars,
                  comp="anova") 
res
res$acc.iter
mc.norm(res$acc.iter)

[Package mt version 2.0-1.20 Index]