Re: [R] Math expressions in pie chart labels?

From: ronggui <ronggui.huang_at_gmail.com>
Date: Wed 03 May 2006 - 11:33:28 EST

I think you should use labels = c(">= 0.66", ">= 0.33", "<= -0.33", "<= -0.66") .
Note the quote in each element of the vector.

2006/5/3, Johannes Graumann <johannes_graumann@web.de>:
> 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
>
> ______________________________________________
> R-help@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
>

--
ٹ
Deparment of Sociology
Fudan University



______________________________________________ R-help@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

Received on Wed May 03 11:37:46 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 03 May 2006 - 16:10:01 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.