female.inc | R Documentation |
A data set containing incomes for 1,000 females along with race information. The data is sampled from data provided by the United States Census Bureau.
data(female.inc)
A data frame with 1,000 observations on the following 2 variables.
Income for 2001 in dollars
a factor with levels black
, hispanic
or white
The United States Census Bureau provides alot of data on income distributions. This data comes from the Current Population Survey (CPS) for the year 2001. The raw data appears in table format. This data is sampled from the data in that table.
The original table was found at http://ferret.bls.census.gov/macro/032002/perinc/new11_002.htm
data(female.inc) boxplot(income ~ race, female.inc) boxplot(log(income,10) ~ race, female.inc) sapply(with(female.inc,split(income,race)),median)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.