dunn function

Analysis: Post-hoc Dunn

Analysis: Post-hoc Dunn

Perform Kruskal wallis and dunn post-hoc test

dunn(trat, resp, method = "holm", alpha = 0.05, decreasing = TRUE)

Arguments

  • trat: Numerical or complex vector with treatments
  • resp: Vector with response
  • method: the p-value for multiple comparisons ("none", "bonferroni", "sidak", "holm", "hs", "hochberg", "bh", "by"). The default is no adjustment for multiple comparisons
  • alpha: Significance level of the post-hoc (default is 0.05)
  • decreasing: Should the order of the letters be increasing or decreasing.

Returns

Kruskal-wallis and dunn's post-hoc test returns

Examples

library(AgroR) data(pomegranate) with(pomegranate, dunn(trat, WL))

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br