Learn R Programming

hmmm (version 1.0-4)

accident: factory accident data

Description

Data on factory accidents occurred in Bergamo (Italy) in 1998, collected by the Inail (Italian institute for insurance against factory accidents): 1052 workers who suffered an accident and claimed for a compensation are classified according to the type of injury, the time to recover (number of working days lost), the age (years), and the solar hour (part of the day in which the accident occurred).

Usage

data(accident)

Arguments

Format

A data frame whose columns contain:

Type

A factor with levels: uncertain, avoidable, not-avoidable

Time

A factor with levels: 0 |-- 7, 7 |-- 21, 21 |-- 60, >= 60

Age

A factor with levels: <= 25, 26 -- 45, > 45

Hour

A factor with levels: morning, afternoon

Freq

A numeric vector of frequencies

References

Cazzaro M, Colombi R (2008) Modelling two way contingency tables with recursive logits and odds ratios. Statistical Methods and Applications, 17, 435-453.

Examples

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

Run the code above in your browser using DataLab