Learn R Programming

UsingR (version 2.0-7)

reaction.time: Reaction time with cell phone usage

Description

A simulated dataset on reaction time to an external event for subject using cell phones.

Usage

data(reaction.time)

Arguments

Format

A data frame with 60 observations on the following 4 variables.

age

Age of participant coded as 16-24 or 25+

gender

Male of Female

control

Code to indicate if subject is using a cell phone "T" or is in the control group "C"

time

Time in seconds to react to external event

Details

Several studies indicate that cell phone usage while driving can effect reaction times to external events. This dataset uses simulated data based on values from the NHTSA study "The Influence of the Use of Mobile Phones on Driver Situation Awareness".

References

This study and others were linked from the web page http://www.accidentreconstruction.com/research/cellphones/ (now off-line).

Examples

Run this code
# NOT RUN {
data(reaction.time)
boxplot(time ~ control, data = reaction.time)
# }

Run the code above in your browser using DataLab