Dear All,
In the title of a plot, I would like to mix greek letters with numbers, where
the numbers are obtained from a particular function to a vector (e.g., max(x));
in each call, the value of this vector can change.
Without greek symbols I use something like:
title(sub=paste("x1=", deparse(x[1]),"beta =
",deparse(max(x)), "rho = ",
deparse(min(x))))
but I'd like beta and rho to show up as greek letters.
I have tried several combinations of "expression", "paste",
"plain", and looked
at the help for legend, text, and title, but I am not able to get it to work.
Thank you,
Ramon
--
Ramon Diaz-Uriarte
Dept. Zoology and Statistics
University of Wisconsin-Madison
Madison, WI 53706
email: rdiazuri at students.wisc.edu
phone: 608-238-8041
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._