Nervous | R Documentation |
Data for Example 10.3
Nervous
A data frame/tibble with 25 observations on two variables
a numeric vector representing reaction time
a numeric vector indicating each of the 4 drugs
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(react ~ drug, data = Nervous, col = rainbow(4))
model <- aov(react ~ factor(drug), data = Nervous)
summary(model)
TukeyHSD(model)
plot(TukeyHSD(model), las = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.