http://lmdvr.r-forge.r-project.org/figures/figures.html

Look at Figure 10.24 and the code therein. You will likely want to define your own strip function, and the code in strip.combined could be your guide. If you have Deepayan's book, you can find more details in the relevant section.


Haris Skiadas
Department of Mathematics and Computer Science
Hanover College

On Oct 13, 2008, at 7:43 PM, Ferry wrote:

Dear R users,

How to change lattice panel label/text from the automatically generated
label (based on the conditioning) to our own set of label?

for example:

someStuff <- data.frame(area = rep(c("SOUTH", "NORTH", "EAST", "WEST"), each
= 25),
                group = rep(c("A","B","C","D"), each = 5),
                mytime = rep(1:4),
                val1 = sample(1:100, size=100, replace=TRUE),
                val2 = sample(1:100, size=100, replace=TRUE)
        )

xyplot(val1+val2 ~ mytime | area * group, data = someStuff, type = c ("a",
"p", "g"))

I want to change each panel label/text from for example D/East or D/ North
... into Deriv/From East, Deriv/From North ...

I know I could change from the data, but is there a way to change it from
lattice ?

thanks beforehand.



______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to