Exploratory Data Analysis in R
Andrew Bray
Assistant Professor, Reed College




ggplot(life, aes(x = income, fill = west_coast)) + geom_density(alpha = .3)

ggplot(life, aes(x = income, fill = west_coast)) + geom_density(alpha = .3)ggplot(life, aes(x = log(income), fill = west_coast)) + geom_density(alpha = .3)

Exploratory Data Analysis in R