[R] Inline text labels in Lattice barchart
Michael Scharkow
michael at underused.org
Sun Mar 14 15:29:26 CET 2010
Dear all,
I'm trying to create a very simple stacked barchart where the
percentages are displayed inside the bar. Apparently, this is not as
simple as I thought because I can only create the chart, not the labels:
barchart(prop.table(umgang.bpa,margin=1),xlab="Proportion",auto.key=list(adj
=1),col=c("grey50","grey90","white"))
This yields http://dl.dropbox.com/u/1189251/chart.png which is fine
except that it has no percent values inside the boxes.
Is there an easy way to add those?
Greetings,
Michael
More information about the R-help
mailing list