Learn R Programming

RVAideMemoire (version 0.9-45-2)

wilcox.paired.multcomp: Non parametric pairwise comparisons for paired data

Description

Performs non parametric pairwise comparisons of paired samples by Wilcoxon signed rank tests for paired data.

Usage

wilcox.paired.multcomp(formula, data, 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 p.adjust.

Value

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

See Also

pairwise.wilcox.test, wilcox.test

Examples

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

Run the code above in your browser using DataLab