Hello R Masters and the Rest of Us:
The first of these works fine, the 2nd is accepted but too literal
(the "%->%" is shown in the plot label and in the wrong position).
The 3rd throws and error due to "unexpected SPECIAL". Would someone
recommend a way to format this? I want the two phrases connected by a
right arrow.
TIA, these things always elude me. Bryan
***********
Bryan Hanson
Professor of Chemistry & Biochemistry
DePauw University
xlab1 <-expression(paste("Phase Angle ", phi, " Neat-O"))
xlab2 <- expression(paste("treatment: low stress", "high stress", sep
= "%->%"))
xlab3 <- expression(paste("treatment: low stress", %->%, "high stress"))
plot(1:10, main = xlab1)
plot(1:10, main = xlab2)
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.