[R] percent sign in plot annotation

Martin Keller-Ressel mkeller at fam.tuwien.ac.at
Wed Jan 17 10:57:49 CET 2007


Hello,

I would like to annotate a graph with the expression 'alpha = 5%' (the  
alpha should be displayed as the greek letter).
I tried

> text(1,1,expression(alpha == 5%))

which gives a syntax error.
escaping the percent sign (\%) or doubling (%%) does not help.
What do I do?

Thanks,

Martin Keller-Ressel



-- 
Martin Keller-Ressel
Research Unit of Financial and Actuarial Mathematics
TU Vienna



More information about the R-help mailing list