Learn R Programming

openintro (version 1.7.1)

sleep.deprivation: Survey on sleep deprivation and transportation workers

Description

The National Sleep Foundation conducted a survey on the sleep habits of randomly sampled transportation workers and a control sample of non-transportation workers.

Usage

data("sleep.deprivation")

Arguments

Format

A data frame with 1087 observations on the following 2 variables.

sleep

a factor with levels <6 >8 6-8

profession

a factor with levels bus / taxi / limo drivers control pilots train operators truck drivers

Examples

Run this code
# NOT RUN {
data(sleep.deprivation)
## maybe str(sleep.deprivation) ; plot(sleep.deprivation) ...
# }

Run the code above in your browser using DataLab