[R] times series trellis plot
R. Michael Weylandt
michael.weylandt at gmail.com
Tue Mar 6 14:33:27 CET 2012
Type at your console:
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, 2012 at 4:20 AM, Stefan Luedtke <sluedtke at gfz-potsdam.de> wrote:
> 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 variable.
> What I want to do:
> 1) Add other variables to each panel, that worked as well, but a bit by
> 2) Add an panel.xblocks to each panel that show the data gaps of any
> variable but not the first.
> If any of you could provide a minimal example.
> On Fri, 2012-03-02 at 14:15 -0800, sluedtke wrote:
>> Dear List,
>> I am struggling with the trellis graphic. A similar problem was mentioned
>> I do have 2 time series data sets. The 2 time series differ in some orders
>> of magnitude. I managed to plot them into 1 graph, but, since the data is
>> that different, on of the data set appears as a line only, well almost. So I
>> would need to set a second y axis before, that is scaled to the second data
>> I know how to do it with the usual plot.window routine or something similar,
>> but not with the trellis graphic of the "lattice" package.
>> Thanks in advance!
>> View this message in context: http://r.789695.n4.nabble.com/times-series-trellis-plot-tp4440032p4440032.html
>> Sent from the R help mailing list archive at Nabble.com.
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help