pairwise.CDA.test: Pairwise comparisons for CDA

View source: R/pairwise.CDA.test.R

pairwise.CDA.testR Documentation

Pairwise comparisons for CDA

Description

Performs pairwise comparisons between group levels with corrections for multiple testing, using CDA.test.

Usage

pairwise.CDA.test(X, fact, ncomp = NULL, p.method = "fdr", ...)

Arguments

X

a data frame of dependent variables (typically contingency or presence-absence table).

fact

factor giving the groups.

ncomp

an integer giving the number of components to be used for the test. If NULL nlevels(fact)-1 are used.

p.method

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

...

other arguments to pass to CDA.test.

Details

See CDA.test.

Value

method

a character string indicating what type of tests were performed.

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

CDA.test

Examples

require(ade4)
data(perthi02)

CDA.test(perthi02$tab,perthi02$cla)
pairwise.CDA.test(perthi02$tab,perthi02$cla)

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