ggTukey.TukeyHSD {adas.utils}R 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()

[Package adas.utils version 1.2.0 Index]