[R] Plotting second axes outside xyplot

Andrew Robinson andrewr at uidaho.edu
Wed Jun 15 10:32:15 CEST 2005


Hi all,

I'm trying to find a way to get xyplot to produce a second set of axes outside the right hand side of the graph.  This is my progress so far:

EE <- equal.count(ethanol$E, number=9, overlap=1/4)
xyplot(NOx ~ C | EE, data = ethanol,
       prepanel = function(x, y) prepanel.loess(x, y, span = 1),
       xlab = "Compression Ratio", ylab = "NOx (micrograms/J)",
       panel = function(x, y) {
            panel.grid(h=-1, v= 2)
            panel.xyplot(x, y)
            panel.loess(x,y, span=1)
            panel.axis(side = "right", at = c(1, 3),
                  labels = c(1, 3), outside = T)
            },
        aspect = "xy")

Does anyone have any suggestions?

Thanks much!

Andrew
--
Andrew Robinson                      Ph: 208 885 7115
Department of Forest Resources       Fa: 208 885 6226
University of Idaho                  E : andrewr at uidaho.edu
PO Box 441133                        W : http://www.uidaho.edu/~andrewr
Moscow ID 83843                      Or: http://www.biometrics.uidaho.edu
No statement above necessarily represents my employer's opinion.



----- Original Message -----
From: Werner Bier <aliscla at yahoo.com>
Date: Monday, June 13, 2005 9:27 am
Subject: Re: [R] kalman filter

> yep! please type
> ?KalmanLike
> or check the dse libraries
> Tom
> 
> m p <mzp3769 at yahoo.com> wrote:
> Hello,
> is there any implementation of Kalman filter in R?
> Thanks,
> Mark
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-
> guide.html
> 
>        	
> ---------------------------------
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-
> guide.html




More information about the R-help mailing list