[R] greater-than-or-equal-to symbol in a legend
    Gabor Grothendieck 
    ggrothendieck at gmail.com
       
    Mon Jun  6 03:20:14 CEST 2005
    
    
  
On 6/5/05, Krista Chin <057448c at acadiau.ca> wrote:
> Hello,
> 
> I am unable to get the greater-than-or-equal-to symbol (?) in a legend.
> I am able to get pi, squares, sqrt, but not this particular symbol.  Can
> anyone tell me what I am doing wrong?
> 
> legend(locator(n=1), legend = c("Observed", expression("Area < 5"* m^2),
> expression("Area >= 5"*m^2)), pch=c(1,16,4), bg="white")
> 
Remove the quotes:
legend(locator(n=1), legend = c("Observed", expression(Area < 5 * m^2),
     expression(Area >= 5*m^2)), pch=c(1,16,4), bg="white")
    
    
More information about the R-help
mailing list