mc.norm: Normality Test by Shapiro-Wilk Test

Description Usage Arguments Value Author(s) See Also Examples

View source: R/mt_maccest.R

Description

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

Usage

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

mt documentation built on Feb. 2, 2022, 1:07 a.m.

Related to mc.norm in mt...