Skip to content
Prev 157369 / 398506 Next

ggplot, getting two scales and one stat.

On Sat, Sep 27, 2008 at 1:08 AM, Tylere Couture <tylerecouture at gmail.com> wrote:
Just map shape to source only for the points:

ggplot(polls, aes(x =Date, y = Popular_Support, colour=Party)) +
stat_smooth(span=0.5) +
geom_point(aes(shape=Source))

Hadley