powered by
Data for Exercise 10.50
Shock
A data frame/tibble with 27 observations on two variables
grouping variable with values of Group1 (no shock), Group2 (medium shock), and Group3 (severe shock)
Group1
Group2
Group3
number of attempts to complete a task
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { boxplot(attempts ~ group, data = Shock, col = "violet") model <- lm(attempts ~ group, data = Shock) anova(model) rm(model) # }
Run the code above in your browser using DataLab