[R] line break in pie chart labels
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Thu Sep 28 10:07:26 CEST 2006
Peter Dalgaard <p.dalgaard at biostat.ku.dk> writes:
> > pie(c(2,3),labels=expression(pi_1,pi_2))
> Error in lab != "" : comparison is not allowed for expressions
> In addition: Warning message:
> is.na() applied to non-(list or vector) in: is.na(lab <- labels[i])
Argh. The curse of the non-functional example: It should of course say
expression(pi[1], pi[2]).
--
O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list