R Dataset / Package MASS / road

On this R-data statistics page, you will find information about the road data set which pertains to Road Accident Deaths in US States. The road data set is found in the MASS R package. You can load the road data set in R by issuing the following command at the console data("road"). This will load the data into a variable called road. If R says the road data set is not found, you can try installing the package by issuing this command install.packages("MASS") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the road R data set. The size of this file is about 754 bytes.

Road Accident Deaths in US States

Description

A data frame with the annual deaths in road accidents for half the US states.

Usage

road

Format

Columns are:

state

name.

deaths

number of deaths.

drivers

number of drivers (in 10,000s).

popden

population density in people per square mile.

rural

length of rural roads, in 1000s of miles.

temp

average daily maximum temperature in January.

fuel

fuel consumption in 10,000,000 US gallons per year.

Source

Imperial College, London M.Sc. exercise

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-mass-road.html" width="100%" height="100%" style="border:0px"></iframe>