Learn R Programming

RVAideMemoire (version 0.9-35)

pairwise.manova: Pairwise MANOVAs

Description

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

Usage

pairwise.manova(resp, fact, p.method = "fdr")

Arguments

resp
response matrix (one column per variable). Object of class "data.frame" are accepted and internally converted into matrices.
fact
grouping factor.
p.method
method for p-values correction. See help of p.adjust.

Value

  • methoda character string giving the name of the test.
  • data.namea character string giving the name(s) of the data.
  • p.valuetable of results.
  • p.adjust.methodmethod for p-values correction.

See Also

manova, summary.manova

Examples

Run this code
data(iris)

# MANOVA
summary(manova(as.matrix(iris[,1:4])~iris$Species))

# Pairwise comparisons
pairwise.manova(iris[,1:4],iris$Species)

Run the code above in your browser using DataLab