ggaov: Anova F test plot

Description Usage Arguments Examples

View source: R/ggaov.R

Description

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

Usage

1
2
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

1
2
3
4
5
6
# 21-th day
chick21 <- ChickWeight[ChickWeight$Time == 21,]
chickaov <- aov(weight~Diet, data = chick21)
summary(chickaov)

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

gginference documentation built on Nov. 10, 2020, 5:10 p.m.