Skip to content
Prev 8988 / 398502 Next

Histogram for factors

Thomas Vogels <tov at ece.cmu.edu> writes:
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.