state.pop {mining} | R Documentation |
data(state.pop)
state.pop
is a matrix containing the population of
each U.S. state, including the District of Columbia,
from 1790 to 1990 in ten-year increments.
The rows are the years "1790" to "1990" and the columns are state names.
The data was obtained from http://merrill.olm.net/pdocs/feas/pop/pop1790_1990/pii.txt and edited into R format.
dotchart(sort(log(state.pop["1990",]))) # distribution of growth rates over time rates <- diff(log(state.pop)) boxplot(as.data.frame(t(rates)))