A random sample of 500 observations from the 2000 U.S. Census Data.
A data frame with 500 observations on the following 8 variables.
Name of state.
Total family income (in U.S. dollars).
Sex with levels
Race with levels
American Indian or Alaska Native,
Other Asian or Pacific Islander,
Two major races,
Marital status with levels
Total personal income (in U.S. dollars).
library(dplyr) library(ggplot2) census %>% filter(total_family_income > 0) %>% ggplot(aes(x = total_family_income)) + geom_histogram(binwidth = 25000)