Learn R Programming

SRMData (version 1.0.1)

CarCrashes: Car crashes

Description

The number and type of of car crashes, in two different years.

Usage

data(CarCrashes)

Arguments

Format

A data frame with 4 rows and 3 columns:

CrashType

Whether or not the crash involved pedestrians (1) or other vehicle (2)

Year

Either 2011 or 2015

Counts

The number of crashes in the combination defined by CrashType and Year

Details

The data provide the number of car crashes in a mountainous county in western China, some involving pedestrians and some involving other vehicles, in two years