Re: [R] plot dataframe with inconsistently relations

2012-09-14 Thread R. Michael Weylandt
On Fri, Sep 14, 2012 at 9:20 AM, Geophagus wrote: > yes thats right. I want to see all points - so I need a line with dots > + geom_point() should work, but I'm not at my computer to test. Also, as I said before: please quote context Cheers, Michael

Re: [R] plot dataframe with inconsistently relations

2012-09-14 Thread Geophagus
yes thats right. I want to see all points - so I need a line with dots -- View this message in context: http://r.789695.n4.nabble.com/plot-dataframe-with-inconsistently-relations-tp4642766p4643116.html Sent from the R help mailing list archive at Nabble.com. ___

Re: [R] plot dataframe with inconsistently relations

2012-09-12 Thread R. Michael Weylandt
On Wed, Sep 12, 2012 at 9:02 AM, Geophagus wrote: > Hi @ all and thanks a lot for your advises. > So far I don't know the function dput. Now I read something about it and I > have the following result: > >> TEST > year value state > 1 200715FL > 2 200816FL > 3 200814TX >

Re: [R] plot dataframe with inconsistently relations

2012-09-12 Thread Geophagus
Hi @ all and thanks a lot for your advises. So far I don't know the function dput. Now I read something about it and I have the following result: > TEST year value state 1 200715FL 2 200816FL 3 200814TX 4 200813TN 5 200918FL 6 200915OH 7 201019

Re: [R] plot dataframe with inconsistently relations

2012-09-11 Thread R. Michael Weylandt
On Tue, Sep 11, 2012 at 2:22 PM, Geophagus wrote: > Hi @ all, > I work with a dataframe like the attached one. Hi Geo, Unfortunately, there is no attached data.frame. The mail servers are somewhat draconian in what they let through. A much better way to send data is to type dput(head(DATA, 20))

[R] plot dataframe with inconsistently relations

2012-09-11 Thread Geophagus
Hi @ all, I work with a dataframe like the attached one. I want to plot it, so that "value" is listed on the y-axis, "year" on the x-axis and "states" as lines in the coordinate system. I tried the following code: require(ggplot) plot1<-ggplot(TEST, aes(year, value)) + geom_line(aes(colour = stat