[R] Greek in text()
ligges at statistik.uni-dortmund.de
Mon Apr 15 15:11:49 CEST 2002
Bill Simpson wrote:
> I have gone over the examples and can't figure this out:
> I was hoping to get this to print a Greek rho with 0.77 beside it.
> Instead I get: rho 0.77 (i.e. Roman lettering)
> The help on expression() is quite opaque so I don't understand how it
It's described in ?plotmath. You can use
text(x=.05,y=.5,substitute(paste(rho, rho2), list(rho2=rho)))
or maybe without that paste() something like:
text(x=.05, y=.5, substitute(rho == rho2, list(rho2=rho)))
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