Hi,

How can I specify the strip text in the xyplot below?
I also tried to work with strip.names=c("TRUE","TRUE"), but that did not work.

Cheers,

Marius

library(lattice)
x <- 1:10
y <- cbind(1:10,-(1:10)) 

xyplot(y[,1]+y[,2]~x,outer=TRUE,strip=function(var.name,...) 
        strip.default(var.name=c("plot 1","plot 2"),...))

______________________________________________
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