Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

[R] other than default labels in lattice plot

Petr Pikal

2005-02-24

Replies:

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@(protected)

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
©2008 r-help.com - Jax Systems, LLC, U.S.A.