Re: [R] xyplot sorted by date

2008-12-10 Thread Stefan Grosse
> With the lattice package, I would like to plot C1 as function of C2 sorted > by the dates, that is something like : > xyplot(C1 ~ C2 | as.Date(C3)) > > It plots somethings but not the truth. > I have compared the output with the output of this script > > I don't know whether it is ther perfe

[R] xyplot sorted by date

2008-12-10 Thread Ptit_Bleu
Hello I have a dataframe with 3 columns C1, C2 and C3. C1 and C2 are numerical data and C3 is the date of the data (format : %Y-%m-%d %H:%M:%S") With the lattice package, I would like to plot C1 as function of C2 sorted by the dates, that is something like : xyplot(C1 ~ C2 | as.Date(C3)) It plo