ggTukey.TukeyHSD: ggTukey for TukeyHSD

ggTukey.TukeyHSDR Documentation

ggTukey for TukeyHSD

Description

Plot Tukey's HSD test via GGplot2.

Usage

## S3 method for class 'TukeyHSD'
ggTukey(obj, which = 1, ...)

Arguments

obj

a TukeyHSD object

which

the index of the comparison. Used when the formula in the undelying aov call has more than one term.

...

further parameters (currently unused)

Value

a GGPlot2 object

See Also

TukeyHSD() ggTukey.data.frame() ggTukey.TukeyHSD()]]

Examples

library(tidyverse)
cotton %>%
  aov(Strength~Cotton, data=.) %>%
  TukeyHSD() %>%
  ggTukey()

adas.utils documentation built on June 8, 2025, 10:29 a.m.