prison.us | R Documentation |
Number of prisoners in each North American state, and the populations of those states from years 1977 to 2010
data(prison.us)
A data frame with 34 observations on the following 103 variables.
a numeric vector, the year
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors
numeric vectors, overall counts for the whole country
This is a data set of the number of prisoners in each American state and the populations of those states, from 1977 to 2010. The number of prisoners are taken from December 31st, while the populations are estimates taken from July 1st based on the previous Census, except for pop.1980, which uses exact census data from 1980/04/01.
Warning:
a scatterplot of US.pop
shows a discontinuity around 2000.
The prisoner data was compiled from:
Bureau of Justice Statistics,
http://www.bjs.gov/index.cfm.
Downloaded in September 2013 and formatted into R by J. T. Gray,
jamsgry@gmail.com
.
The population data was compiled from:
United States Census Bureau,
http://www.census.gov/popest/data
.
Downloaded in September 2013 by J. T. Gray.
This site may have become stale.
summary(prison.us)
## Not run: # This plot shows a discontinuity around 2000.
plot(US.pop / 1e6 ~ Year, prison.us, main = "US population (millions)",
las = 1, type = "b", col = "blue")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.