mc.fried: Multiple Comparison by 'Friedman Test' and Pairwise...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/mt_maccest.R

Description

Performs multiple comparison by Friedman test and pairwise comparison by Wilcoxon Test.

Usage

1
mc.fried(x, p.adjust.method = p.adjust.methods,...)

Arguments

x

A matrix or data frame to be tested.

p.adjust.method

Method for adjusting p values (see p.adjust).

...

Additional arguments pass to friedman.test or pairwise.wilcox.test.

Value

A list with components:

fried

Hypothesis test results of friedman.test.

wilcox

Hypothesis test results of pairwise.wilcox.test.

gl.pval

Global or overall p value returned by friedman.test.

mc.pval

Pairwise p value returned by pairwise.wilcox.test.

Author(s)

Wanchang Lin

See Also

maccest, mc.anova

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Iris data
data(iris)
x      <- subset(iris, select = -Species)
y      <- iris$Species

method <- c("randomForest","svm","pcalda","knn")
pars   <- valipars(sampling="cv", niter = 10, nreps=4)
res    <- maccest(x, y, method=method, pars=pars,
                  comp="fried",kernel="linear") 

res

htest <- mc.fried(res$acc.iter)

mt documentation built on Nov. 15, 2021, 9:06 a.m.

Related to mc.fried in mt...