Displaying 1 result from an estimated 1 matches for "w08".
Did you mean:
08
2009 Jan 16
0
Barchart in lattice package: controlling order of bars in plot and color of a selected bar
...], main="2002")
barplot(w04[,"Sum"], horiz=T, col=w04[,"barcolor"],
names.arg=w04[,"sts.dist"], main="2004")
barplot(w06[,"Sum"], horiz=T, col=w06[,"barcolor"],
names.arg=w06[,"sts.dist"], main="2006")
barplot(w08[,"Sum"], horiz=T, col=w08[,"barcolor"],
names.arg=w08[,"sts.dist"], main="2008")
### Attempt with lattice
# work contains w02-08 stacked on top of each other
barchart(sts.dist[order(Sum),] ~ Sum | year, data=work, layout=c(4,1),
main="Ranking of best t...