KruskalWallisAllPvalues {postHoc} | R Documentation |
Calculates all p-values of pairwise comparisons using a Kruskal-Wallis test
Description
Calculates all p-values of pairwise comparisons using a Kruskal-Wallis test
Usage
KruskalWallisAllPvalues(y, g, padjust = "fdr")
Arguments
y |
is a vector with the response |
g |
is a single classification factor |
padjust |
the method for adjusting for multiple comparisons following the convention of the functions stats::p. adjust(default = "fdr"), NULL or "none" does not adjust |
Value
a vector with the p-values for comparing all the possible pairs.
Author(s)
Rodrigo Labouriau
Examples
KruskalWallisAllPvalues(y = DeIdentifiedExample$Y,
g = DeIdentifiedExample$Treatment)
[Package postHoc version 0.1.3 Index]