ggHSD: Draw Tukey Honest Significant Differences plot

Description Usage Arguments Value Examples

View source: R/ggHSD.R

Description

Draw Tukey Honest Significant Differences plot

Usage

1
ggHSD(tukey, no = 1, digits = 2, interactive = FALSE)

Arguments

tukey

A object of class "TukeyHSD", the result of TukeyHSD()

no

An integer specify the order of list

digits

integer indicating the number of decimal places

interactive

A logical value. If TRUE, an interactive plot will be returned

Value

A (interactive) ggplot

Examples

1
2
3
4
5
6
require(ggplot2)
fm1 <- aov(breaks ~ wool + tension, data = warpbreaks)
result=TukeyHSD(fm1, "tension", ordered = TRUE)
str(result)
ggHSD(result)
ggHSD(result,interactive=TRUE)

cardiomoon/ggiraphExtra documentation built on Oct. 9, 2020, 4:16 a.m.