Re: [R] [FORGED] Lattice barchart legend with panel.barchart
Works great, thank you Paul! On Wed, Jul 27, 2016 at 5:24 PM, Paul Murrellwrote: > Hi > > Try this ... > > barchart(Class~Freq|Sex + Age, Titan, > groups=Survived, > panel = titanpanel, > stack=TRUE, layout=c(4,1), >
Re: [R] [FORGED] Lattice barchart legend with panel.barchart
Hi Try this ... barchart(Class~Freq|Sex + Age, Titan, groups=Survived, panel = titanpanel, stack=TRUE, layout=c(4,1), key=simpleKey(title="Survived", text=levels(Titan$Survived), rectangles=TRUE, points=FALSE, columns=2)) Paul On