ggaov: Anova F test plot

View source: R/ggaov.R

ggaovR Documentation

Anova F test plot

Description

Visualise anova F-test to determine whether group means are equal

Usage

ggaov(t, alpha=0.05, colaccept="lightsteelblue1",
 colreject="grey84", colstat="navyblue")

Arguments

t

an object of class aov

alpha

alpha level for finding critical F value

colaccept

color for the acceptance region of the test

colreject

color for the area of rejection of the test

colstat

color of the statistic of the test line

Examples

# 21-th day
chick21 <- ChickWeight[ChickWeight$Time == 21, ]
chickaov <- aov(weight ~ Diet, data = chick21)
summary(chickaov)

ggaov(chickaov, colaccept = "grey89", colreject = "black")

okgreece/gginference documentation built on July 6, 2023, 10:02 a.m.