[R] Histogram for factors
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Tue Jan 16 10:01:13 CET 2001
Thomas Vogels <tov at ece.cmu.edu> writes:
> Now the (actually not so) funny thing is that the labels for the
> x-axis disappear when I specify colors for the bars. (R 1.2.1, Linux)
> Ok, maybe the other thing I'll have to catch up on is the docu...
The logic around "axisnames" in plot.factor looks not quite right.
Could you file a bug report on this so that we dont forget?
barplot(table(factor(1:3)),col="green")
plot(factor(1:3),col="green",axes=T)
both work, although the latter is clearly silly.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list