Archives
Thursday, 20 May, 2010 (20100520)
Documentation for ggplot2 and main website
here
.
Also you can checkout the
crantastic page
for ggplot2. This page includes reviews, ratings, related packages, and some
additional links.
Files
Here is the
R script
for this session. I sent the other datafile via email.
Outline
Work with a real example
Much like SAS, half the battle can be getting the data in and in the
right format
Pick out some data you actually have and might want graphs of
ggplot2: pretty graphics fast
Fast graphics, but also an entire environment or grammar for them
Handout (Geometric object = geom; graphic object = grob)
qqplot()
, the simple way
ggplot()
: the idea of elements and layering
fortunes:
better than a coffee break
Usually true, and usually from good names
Learning Objectives
Start thinking in terms of the grammar of graphics (ggplot2)
Choose data to work with over the next few weeks