powered by
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.
# NOT RUN { boxplot(react ~ drug, data = Nervous, col = rainbow(4)) model <- aov(react ~ factor(drug), data = Nervous) summary(model) TukeyHSD(model) plot(TukeyHSD(model), las = 1) # }
Run the code above in your browser using DataLab