citycrime | R Documentation |
Data relating to crime rates per one million residents in 50 U.S cities, taken from Thomas (1990).
citycrime
A data frame with 50 rows and 7 variables:
reported violent crime rate per 100,000 residents
annual police funding per resident ($)
percentage of people 25 years+ with 4 years of high school
percentage of 16 to 19 year-olds not in high school and not high school graduates
percentage of 18 to 24 year-olds in college
percentage of people 25 years+ with at least 4 years of college
total overall reported crime rate per 1 million residents
https://hastie.su.domains/StatLearnSparsity_files/DATA/crime.txt
Thomas, G.S., 1990. The Rating Guide to Life in America's Small Cities. Prometheus Books, 59 John Glenn Drive, Amherst, NY 14228-2197.
Hastie, T., Tibshirani, R. and Wainwright, M., 2015. Statistical learning with sparsity: the lasso and generalizations. CRC press.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.