Dear list members, I am trying the following plot in Lattice:
library(lattice) library(datasets) data(CO2) xyplot(uptake ~ conc | Type * Treatment, groups = Plant, type = "b", lty = rep(1:3, 4), strip = strip.custom( var.name = c("Type", "Treatment "), strip.names = c(T,T), style = 3), data = CO2) How can I change the names of the levels of the 2 conditioning variables in the strip? I want to use: "Enfriado" and "No enfriado" instead of "chilled" and "nonchilled" for Treatmente, and "A" and "B" instead of "Quebec" and "Mississippi" for Type. Thank you very much in advance. Manuel -- *Manuel Spínola, Ph.D.* Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspin...@una.ac.cr mspinol...@gmail.com Teléfono: (506) 2277-3598 Fax: (506) 2237-7036 Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/> [[alternative HTML version deleted]]
_______________________________________________ R-sig-ecology mailing list R-sig-ecology@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology