R Dataset / Package datasets / USArrests
On this R-data statistics page, you will find information about the USArrests data set which pertains to Violent Crime Rates by US State. The USArrests data set is found in the datasets R package. You can load the USArrests data set in R by issuing the following command at the console data("USArrests"). This will load the data into a variable called USArrests. If R says the USArrests data set is not found, you can try installing the package by issuing this command install.packages("datasets") 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 USArrests R data set. The size of this file is about 1,284 bytes.
Violent Crime Rates by US State
Description
This data set contains statistics, in arrests per 100,000 residents for assault, murder, and rape in each of the 50 US states in 1973. Also given is the percent of the population living in urban areas.
Usage
USArrests
Format
A data frame with 50 observations on 4 variables.
[,1] | Murder | numeric | Murder arrests (per 100,000) |
[,2] | Assault | numeric | Assault arrests (per 100,000) |
[,3] | UrbanPop | numeric | Percent urban population |
[,4] | Rape | numeric | Rape arrests (per 100,000) |
Source
World Almanac and Book of facts 1975. (Crime rates).
Statistical Abstracts of the United States 1975. (Urban rates).
References
McNeil, D. R. (1977) Interactive Data Analysis. New York: Wiley.
See Also
The state
data sets.
Examples
require(graphics) pairs(USArrests, panel = panel.smooth, main = "USArrests data")
Dataset imported from https://www.r-project.org.