[R] expression of '>='
Paul Murrell
paul at stat.auckland.ac.nz
Wed Apr 18 01:14:04 CEST 2001
Hi
> I have a question about how to print '>=' on label, I tried expression(ge)
> but it wouldn't help. Any suggestions are appreciated!
You just need to put the '>=' inside an expression. For example, try ...
plot(1, type="n")
text(1,1,expression(x >= y))
More generally, the command 'example(plotmath)' produces several tables of
the commands required to produce the possible sorts of mathematical
annotation (it is important to type 'par(ask=T)' first so that you can pause
on each table). The mathematical annotation facilities are also described
in a recent journal article ...
Murrell, P. and Ihaka, R. (2000) An approach to providing
mathematical annotation in plots. Journal of Computational and
Graphical Statistics, 9, 582-599.
Hope that helps :)
Paul
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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