[R] Math expressions in pie chart labels?

Johannes Graumann johannes_graumann at web.de
Wed May 3 01:47:41 CEST 2006


Hello,

trying to get something like this to work and am failing:

pie(
c(length(strongN14),length(weakN14),length(weakN15),length(strongN15),length(ambiguous)),
  labels = c(>= 0.66, >= 0.33, <= -0.33, <= -0.66),
  col = c("#9999FF","#0000CC","#009900","lightgreen","white")
)

Can't figure out a way to display the 'greater or equal' ... signs properly.

I'm thankful for any prodding into the right direction.

Joh




More information about the R-help mailing list