Re: [R] lattice: index plot

2011-08-03 Thread Peter Ehlers
On 2011-08-03 00:24, Thaler,Thorn,LAUSANNE,Applied Mathematics wrote: Does xyplot(y ~ seq_along(y), xlab = "Index") do what you want? Not exactly, because it does not work once multipanel conditioning comes into play: xyplot(y~seq_along(y)|factor(rep(1:2, each=5)), xlab = "Index") The p

Re: [R] lattice: index plot

2011-08-03 Thread Thaler, Thorn, LAUSANNE, Applied Mathematics
> Does > > xyplot(y ~ seq_along(y), xlab = "Index") > > do what you want? Not exactly, because it does not work once multipanel conditioning comes into play: xyplot(y~seq_along(y)|factor(rep(1:2, each=5)), xlab = "Index") The points in the right panel are plotted from 6:10 while the points

Re: [R] lattice: index plot

2011-08-02 Thread Peter Ehlers
Does xyplot(y ~ seq_along(y), xlab = "Index") do what you want? Peter Ehlers On 2011-08-02 09:07, Thaler, Thorn, LAUSANNE, Applied Mathematics wrote: Dear all, How can I make an index plot with lattice, that is plotting a vector simply against its particular index in the vector, i.e. someth