ggTukey.data.frame: ggTukey for data.frame

ggTukey.data.frameR Documentation

ggTukey for data.frame

Description

ggTukey for data.frame

Usage

## S3 method for class 'data.frame'
ggTukey(obj, formula, which = 1, splt = NULL, ...)

Arguments

obj

a data frame

formula

a formula to be used in the aov call

which

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

splt

a formula to split the data frame

...

further parameters passed to TukeyHSD (e.g. conf.level)

Value

a GGPlot2 object

Examples

library(tidyverse)
battery %>%
  ggTukey(Response~Material, splt=~Temperature, conf.level=0.99)

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