barPlot function

Plotting PMCMR Objects

Plotting PMCMR Objects

Plots a bar-plot for objects of class "PMCMR".

barPlot(x, alpha = 0.05, ...)

Arguments

  • x: an object of class "PMCMR".
  • alpha: the selected alpha-level. Defaults to 0.05.
  • ...: further arguments for method barplot.

Returns

A barplot where the height of the bars corresponds to the arithmetic mean. The extend of the whiskers are c("pmz(1alpha/2)\n\\pm z_{(1-\\alpha/2)}\n", "timessmathrmE,i\\times s_{\\mathrm{E},i}"), where the latter denotes the standard error of the iith group. Symbolic letters are depicted on top of the bars, whereas different letters indicate significant differences between groups for the selected level of alpha.

Note

The barplot is strictly spoken only valid for normal data, as the depicted significance intervall implies symetry.

Examples

## data set chickwts ans <- tukeyTest(weight ~ feed, data = chickwts) barPlot(ans)
  • Maintainer: Thorsten Pohlert
  • License: GPL (>= 3)
  • Last published: 2024-09-08

Useful links