This help topic is for R version 1.5.0. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/sleep.html
sleep {base}R Documentation

Students' Sleep Data

Description

Data which show the effect of two soporific drugs (increase in hours of sleep) on groups consisting of 10 patients each.

Usage

data(sleep)

Format

A data frame with 20 observations on 2 variables.

[, 1] extra numeric increase in hours of sleep
[, 2] group factor patient group

Source

Student (1908) The probable error of the mean. Biometrika, 6, 20.

References

Scheff<e9>, Henry (1959) The Analysis of Variance. New York, NY: Wiley.

Examples

data(sleep)
## ANOVA
anova(lm(extra ~ group, data = sleep))

[Package base version 1.5.0 ]