[R] percent sign in plot annotation

Bettina Gruen gruen at ci.tuwien.ac.at
Wed Jan 17 10:08:31 CET 2007


Martin Keller-Ressel wrote:
> 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%))

Try
text(1,1,expression(alpha == 5*"%"))

Best,
Bettina



More information about the R-help mailing list