Re: [R] times series trellis plot

2012-03-07 Thread sluedtke
That was exactly the line I was looking for!! Perfect and thanks for your time! On Tue, 2012-03-06 at 16:23 -0800, Gabor Grothendieck [via R] wrote: > panel.xblocks(time(ts2), is.na(ts2[, panel.number()]), ..., col="RED") -- View this message in context: http://r.789695.n4.nabble.com/times-ser

Re: [R] times series trellis plot

2012-03-06 Thread Gabor Grothendieck
On Tue, Mar 6, 2012 at 11:14 AM, Stefan Luedtke wrote: > I spent some more time to understand the examples .. it helped a bit. > > But there is still one issue. > > Taking example data (my first on, hope it is not confusing ;-)  ) like: > > > library(latticeExtra) > library(zoo) > > > #  example D

Re: [R] times series trellis plot

2012-03-06 Thread Stefan Luedtke
I spent some more time to understand the examples .. it helped a bit. But there is still one issue. Taking example data (my first on, hope it is not confusing ;-) ) like: library(latticeExtra) library(zoo) # example Data timeVect1=seq(as.Date("1990-01-01"), as.Date("2010-12-31"), by="day"

Re: [R] times series trellis plot

2012-03-06 Thread R. Michael Weylandt
Type at your console: library(lattice) example(xyplot.zoo) I think the second and third do what you were asking. Otherwise, please describe in more detail what you mean about "add other variables to each panel" -- how do you want these displayed and what sort of variables are they? On Tue, Mar 6

Re: [R] times series trellis plot

2012-03-06 Thread Gabor Grothendieck
On Tue, Mar 6, 2012 at 4:20 AM, Stefan Luedtke wrote: > I managed to solve a part of my problem. Anyway, I still do not > understand how to use the lattice package the right way. > > An example: > > I do have multiple stations (say, with climatological data) and I want > to plot each station on it

Re: [R] times series trellis plot

2012-03-06 Thread Stefan Luedtke
Dear List, I managed to solve a part of my problem. Anyway, I still do not understand how to use the lattice package the right way. An example: I do have multiple stations (say, with climatological data) and I want to plot each station on its on panel. I managed to do this of course with one

Re: [R] times series trellis plot

2012-03-04 Thread Stefan Luedtke
Thanks, a lot!! On Fri, 2012-03-02 at 18:00 -0500, Gabor Grothendieck wrote: > On Fri, Mar 2, 2012 at 5:15 PM, sluedtke wrote: > > Dear List, > > > > I am struggling with the trellis graphic. A similar problem was mentioned > > here: > > > > http://r.789695.n4.nabble.com/R-How-can-you-get-N-rep

Re: [R] times series trellis plot

2012-03-02 Thread Gabor Grothendieck
On Fri, Mar 2, 2012 at 5:15 PM, sluedtke wrote: > Dear List, > > I am struggling with the trellis graphic. A similar problem was mentioned > here: > > http://r.789695.n4.nabble.com/R-How-can-you-get-N-replicates-of-a-multi-screen-multivariate-time-series-plot-td811850.html > > > I do have 2 time s

[R] times series trellis plot

2012-03-02 Thread sluedtke
Dear List, I am struggling with the trellis graphic. A similar problem was mentioned here: http://r.789695.n4.nabble.com/R-How-can-you-get-N-replicates-of-a-multi-screen-multivariate-time-series-plot-td811850.html I do have 2 time series data sets. The 2 time series differ in some orders of ma