[R] other than default labels in lattice plot

Petr Pikal petr.pikal at precheza.cz
Thu Feb 24 15:03:27 CET 2005


Dear all

I solved a problem of customised labels on strips and boxes in bwplot 
by this construction.

> bbb <- bwplot(zavoj ~ typmleti | pu)
> bbb$condlevels$pu <- c("Povrchová úprava", "Bez PU")
> bbb$x.limits <- c("Mleto", "Mleto a sítováno", "Nemleto")
> bbb

but I wonder if some other easy option exist. Let say something like

bwplot(zavoj~typmleti | pu, 
some advanced stuff like 
box.labels=c("Mleto", "Mleto a sítováno", "Nemleto"), 
strip.labels =  c("Povrchová úprava", "Bez PU")
)

Thank you

Petr Pikal
petr.pikal at precheza.cz




More information about the R-help mailing list