[R] Math expressions in pie chart labels?

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed May 3 08:33:48 CEST 2006


Johannes Graumann wrote:

> ronggui wrote:
> 
> 
>>I think you should use   labels = c(">= 0.66", ">= 0.33", "<= -0.33",
>>"<= -0.66") .
>>Note the quote in each element of the vector.
> 
> 
> No. Am using that at the moment. Does not give me the nice
> plotmath 'greater-than' etc. signs ...


Then please read ?plotmath and use it:

labels = expression("" >= 0.66, "" == 0.33, "" <= -0.33, "" <= -0.66)

Uwe Ligges

> Joh
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list