[R] symbols in lattice
Torsten Hothorn
Torsten.Hothorn at rzmail.uni-erlangen.de
Tue Apr 16 09:32:40 CEST 2002
Dear plotting experts,
I simply can't figure out how I can force bwplot to print mathematical
symbols in the strips.
Example:
x <- rnorm(30)
lab <- factor(c(rep("one", 10), rep("two", 10), rep("three", 10)))
bwplot(~ x | lab)
gives labels "one", "two", "tree" but I would like to change this into
expression(lambda == 1), expression(lambda == 2) and expression(lambda ==
3).
The only way to modify the labels is changing the levels of lab, right? Or
is there something else?
Torsten
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list