Re: [R] problems plotting geom_line on ggplot2

2008-02-12 Thread hadley wickham
On Feb 12, 2008 9:12 AM, ONKELINX, Thierry <[EMAIL PROTECTED]> wrote: > Just to inform the list that the problem is solved: > > This problem was due to DF$Hora being a factor. Converting it to numeric > or time solved the problem. This is because geoms are automatically broken into groups based on

Re: [R] problems plotting geom_line on ggplot2

2008-02-12 Thread ONKELINX, Thierry
Just to inform the list that the problem is solved: This problem was due to DF$Hora being a factor. Converting it to numeric or time solved the problem. Thierry ir. Thierry Onkelinx Instituut voor natuur- en bosonderzo

Re: [R] problems plotting geom_line on ggplot2

2008-02-12 Thread ONKELINX, Thierry
Try this. ggplot(data = DF, aes(x=Hora, y=PAC) + geom_line() HTH, Thierry ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest Cel biometrie, methodologie en kwaliteit