Dunn's test (post-hoc pairwise comparisons after Kruskal-Wallis)
Source:R/ops-timefreq.R
dunnTest.RdDunn's test: all pairwise rank-based comparisons following a Kruskal-Wallis
test (kruskalTest), using the shared tie-corrected rank variance
and a chosen multiple-comparison adjustment. It is the non-parametric
counterpart of Tukey's HSD (tukeyHSD). The z-statistics and
adjusted p-values reproduce base R's Dunn formula, the PMCMRplus package and
scikit_posthocs.posthoc_dunn to machine precision.
Usage
dunnTest(x, ..., p_adjust = c("bonferroni", "none", "holm", "BH"))Value
A data frame with one row per pair: comparison, z,
p_value (two-sided, unadjusted) and p_adj, carrying k, n as attributes.