11.08.2013 Views

Introduction R & ggplot2. - Stat405 - Hadley Wickham

Introduction R & ggplot2. - Stat405 - Hadley Wickham

Introduction R & ggplot2. - Stat405 - Hadley Wickham

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Monday, August 20, 12<br />

Scatterplot basics<br />

install.packages("ggplot2")<br />

library(ggplot2)<br />

?mpg<br />

head(mpg)<br />

str(mpg)<br />

summary(mpg)<br />

qplot(displ, hwy, data = mpg)

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

Saved successfully!

Ooh no, something went wrong!