Re: [R] [FORGED] Lattice barchart legend with panel.barchart

2016-07-27 Thread Seth Bigelow
Works great, thank you Paul! On Wed, Jul 27, 2016 at 5:24 PM, Paul Murrell wrote: > 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

2016-07-27 Thread Paul Murrell
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