On Sep 21, 2012, at 17:04 , li li wrote:

> Dear all,
>   In my R plot, I would like to add the title as "Estimator vs. Eta",
> where I want to use the greek letter eta.
> I was trying to use expression(plain("Estimator  vs.") *eta* ). It does not
> seem to work.
> Can anyone familiar with this give some help?
> 

I'd try dropping the 2nd star. Remember that expressions must be valid R code. 
You wouldn't be able to say

a <- plain("Estimator  vs.") * eta *

either (not even if plain was an actual numeric function and eta a numeric 
variable).

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
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.

Reply via email to