Learn R Programming

AgroR (version 1.3.6)

dunn: Analysis: Post-hoc Dunn

Description

Perform Kruskal wallis and dunn post-hoc test

Usage

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

Value

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

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.

Author

Gabriel Danilo Shimizu, shimizu@uel.br

Examples

Run this code
library(AgroR)
data(pomegranate)

with(pomegranate, dunn(trat, WL))

Run the code above in your browser using DataLab