Learn R Programming

hmmm (version 1.0-4)

kentucky: Kentucky traffic accident data

Description

The traffic accident data collected by the Kentucky State Police from 1995 to 1999. The annual numbers of vehicle occupants involved in Kentucky accidents are classified according to 3 variables: injury, restraint usage and year.

Usage

data(kentucky)

Arguments

Format

A data frame whose columns contain:

Restraint.usage

A factor with levels: yes = restraint used, no = restraint not used

Year

1995, 1996, 1997, 1998, 1999

Freq

A numeric vector of frequencies

References

Lang JB (2005) Homogeneous linear predictor models for contingency tables. Journal of the American Statistical Association, 100, 121-134.

Examples

Run this code
# NOT RUN {
data(kentucky)
# }

Run the code above in your browser using DataLab