Try to use "kruskalmc" in the package pgirmess I give one of my results
> kruskal.test(rojos~mes) Kruskal-Wallis chi-squared = 132.3091, df = 3, p-value < 2.2e-16 > kruskalmc(rojos~mes) Multiple comparison test after Kruskal-Wallis p.value: 0.05 Comparisons obs.dif critical.dif difference abril-julio 134.52815 56.84018 TRUE abril-junio 53.42185 58.73584 FALSE abril-mayo 58.96383 59.73167 FALSE julio-junio 187.95000 44.40539 TRUE julio-mayo 75.56432 45.71446 TRUE junio-mayo 112.38568 48.05106 TRUE ----- Mario Garrido Escudero PhD student Dpto. de Biología Animal, Ecología, Parasitología, Edafología y Qca. Agrícola Universidad de Salamanca -- View this message in context: http://r.789695.n4.nabble.com/kruskal-wallis-post-hoc-tp4288008p4288263.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.