Returns one of the ggplot2 objects the analysis built. The available
names are listed by print() and stored in x$plots.
Usage
# S3 method for class 'anovakit_fit'
plot(x, which = 1L, ...)Arguments
- x
An
anovakit_fitobject.- which
Name or index of the plot. Defaults to the first one.
- ...
Ignored.
Examples
set.seed(1)
d <- data.frame(g = rep(c("a", "b", "c"), each = 20), y = rnorm(60))
fit <- anova_welch(d, "y", "g")
p <- plot(fit, which = "means")