Learn R Programming

fifer (version 1.1)

plotSigBars: Add significance bars to a prism plot

Description

Add significance bars to a prism plot, corrected for multiple comparisons either using Tukey's HSD (parametric), or Dunn's correction for multiple comparison (non-parametric).

Usage

plotSigBars(formula, data, type = c("tukey", "dunn"))

Arguments

formula
a R formula object
data
a dataset containing the variables in formula
type
either "tukey" or "dunn" indicating which multiple comparison should be used

See Also

boxplot, densityPlotR, prism.plots

Examples

Run this code
prism.plots(Sepal.Length ~ Species, data = iris, centerfunc=mean)
plotSigBars(Sepal.Length ~ Species, data = iris, type="tukey")

Run the code above in your browser using DataLab