Displaying 1 result from an estimated 1 matches for "ratetype".
2011 Mar 22
1
Group labels in lattice barchart
...idden...
Any help will be greatly appreciated!
The following commands should produce an example plot by pasting directly into R, assuming you have a net connection:
library(lattice)
load(url('http://brainimaging.waisman.wisc.edu/~perlman/testdata.rdata'))
print(barchart(Count~Rating | RateType*Temperature, data=tf, groups=StimCount,
stack=TRUE, scales=list(alternating=c(3)), ylim=c(0,11),
par.settings=list(superpose.polygon=list(col=rainbow(10))),
auto.key = list(points = FALSE, rectangles = TRUE, space = "bottom", columns=5),
panel=function(x, y, subscripts, groups, ...) {
p...