[R] Line Graph - Greater than 2 variables on plot

hadley wickham h.wickham at gmail.com
Sat Sep 22 00:57:48 CEST 2007


On 9/21/07, Jim Porzak <jporzak at gmail.com> wrote:
> Hi Hadley,
>
> I'm trying your suggestion to Wayne. Did you mean to say:
>
> qplot(D, value, data = melt(wag), colour = variable, geom = "line")
> ?

Ooops, no I meant to say:

qplot(D, value, data = melt(wag, id="D"), colour = variable, geom = "line")

Hadley

-- 
http://had.co.nz/



More information about the R-help mailing list