powered by
Data for Exercise 7.31
Leader
A data frame/tibble with 34 observations on two variables
a character vector indicating age with values under35 and over35
under35
over35
score on a leadership exam
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { boxplot(score ~ age, data = Leader, col = c("gray", "green")) t.test(score ~ age, data = Leader) # }
Run the code above in your browser using DataLab