12.07.2015 Views

Package 'UsingR' - The Comprehensive R Archive Network

Package 'UsingR' - The Comprehensive R Archive Network

Package 'UsingR' - The Comprehensive R Archive Network

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

42 female.incfemale.inc Income distribution for females in 2001DescriptionA data set containing incomes for 1,000 females along with race information. <strong>The</strong> data is sampledfrom data provided by the United States Census Bureau.Usagedata(female.inc)FormatA data frame with 1,000 observations on the following 2 variables.income Income for 2001 in dollarsrace a factor with levels black, hispanic or whiteDetails<strong>The</strong> United States Census Bureau provides alot of data on income distributions. This data comesfrom the Current Population Survey (CPS) for the year 2001. <strong>The</strong> raw data appears in table format.This data is sampled from the data in that table.Source<strong>The</strong> original table is found at http://ferret.bls.census.gov/macro/032002/perinc/new11_002.htm.Examplesdata(female.inc)boxplot(income ~ race, female.inc)boxplot(log(income,10) ~ race, female.inc)sapply(with(female.inc,split(income,race)),median)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!