data(sleep)
A data frame with 20 observations on 2 variables.
| [, 1] | extra | numeric | increase in hours of sleep |
| [, 2] | group | factor | patient group |
Data which show the effect of two soporific drugs (increase in hours of sleep) on groups consisting of 10 patients each.
Student (1908), The probable error of the mean. Biometrika, 6, 20.
Scheffé, Henry (1959): The analysis of variance. New York, NY: Wiley.
data(sleep) ## ANOVA anova(lm(extra ~ group, data = sleep))