[R] Grouped barchart confidence intervals in lattice

2012-03-03 Thread Nathan Lemoine
ripts, ...){ panel.barchart(x, y, horiz=F, subscripts=subscripts, groups=growth.means$Group.2, ...) panel.segments(x[subscripts], y, x[subscripts], y+0.5) print(x[subscripts]) } barchart(growth~Group.1, groups=Group.2, data=growth.means, col=c(1,2,3), panel=panel.super

[R] Grouped barchart confidence intervals in lattice

2012-03-02 Thread Nathan Lemoine
not on the grouped bars barchart(x~Group.1, groups=Group.2, data=growth.means, panel=function(x,y,subscripts, groups){ panel.barchart(x,y,horiz=F,groups=groups, subscripts=subscripts) panel.segments(as.numeric(x)[subscripts],y,as.nu