pairwise.mood.medtest: Pairwise Mood's median tests

View source: R/pairwise.mood.medtest.R

pairwise.mood.medtestR Documentation

Pairwise Mood's median tests

Description

Performs pairwise comparisons between group levels with corrections for multiple testing.

Usage

pairwise.mood.medtest(resp, fact, exact = NULL, p.method = "fdr")

Arguments

resp

response vector.

fact

grouping factor.

exact

a logical indicating whether exact p-values should be computed.

p.method

method for p-values correction. See help of p.adjust.

Details

If exact=NULL, Fisher's exact tests are used if the number of data values is < 200; otherwise chi-square tests are used (with Yates continuity correction).

Value

method

a character string indicating the name of the test.

data.name

a character string giving the name(s) of the data.

p.value

table of results.

p.adjust.method

method for p-values correction.

Author(s)

Maxime HERVE <maxime.herve@univ-rennes1.fr>

See Also

mood.medtest

Examples

set.seed(0904)
response <- c(rnorm(10),rnorm(10,0.8),rnorm(10,2))
fact <- gl(3,10,labels=LETTERS[1:3])
mood.medtest(response~fact)
pairwise.mood.medtest(response,fact)

RVAideMemoire documentation built on Nov. 6, 2023, 5:07 p.m.