Learn R Programming

RVAideMemoire (version 0.9-7)

wilcox.paired.multcomp: Pairwise Wilcoxon signed rank sum test

Description

Perform pairwise comparisons by Wilcoxon signed rank sum test for paired data.

Usage

wilcox.paired.multcomp(formula, data=NULL, p.method = "fdr")

Arguments

formula
a formula of the form a ~ b | c, where a, b and c give the data values and corresponding groups and blocks, respectively.
data
an optional data frame containing the variables in the formula formula. By default the variables are taken from environment(formula).
p.method
method for p-values correction. See help of the p.adjust() function.

Value

  • datavariables name.
  • p.methodmethod for p-values correction.
  • Vtest statistics.
  • p.valuecorrected p-values.
  • compdata frame of results.

See Also

pairwise.wilcox.test

Examples

Run this code
response<-c(rnorm(10,0,3),rnorm(10,5,3),rnorm(10,8,2))
factor<-factor(rep(LETTERS[1:3],each=10))
block<-factor(rep(letters[1:10],3))
friedman.test(response~factor|block)
wilcox.paired.multcomp(response~factor|block)

Run the code above in your browser using DataLab