Homework | R Documentation |
Data for Exercise 7.78
Homework
A data frame with 30 observations on two variables
type of school either private
or public
number of hours per week spent on homework
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(time ~ school, data = Homework,
ylab = "Hours per week spent on homework")
#
t.test(time ~ school, data = Homework)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.