Re: [R] lattice: overlap histogram

2008-10-28 Thread Ferry
Thank you Deepayan. Still on lattice, can the same overlap function be applied to categorical variable plot such as barchart? I mean, can I create an overlap barchart plot? On Tue, Oct 28, 2008 at 5:41 PM, Deepayan Sarkar <[EMAIL PROTECTED]>wrote: > On Tue, Oct 28, 2008 at 4:31 PM, Ferry <[EMAIL

Re: [R] lattice: overlap histogram

2008-10-28 Thread Deepayan Sarkar
On Tue, Oct 28, 2008 at 4:31 PM, Ferry <[EMAIL PROTECTED]> wrote: > Dear R users, > > Is it possible to have an overlap histogram plot? For example: > > stuff <- data.frame(Mode = c("Land", "Air"), AgeGroup = c("Young", "Adult", > "Old"), Value = sample(1:300)) > histogram( ~Value | AgeGroup * Mode

[R] lattice: overlap histogram

2008-10-28 Thread Ferry
Dear R users, Is it possible to have an overlap histogram plot? For example: stuff <- data.frame(Mode = c("Land", "Air"), AgeGroup = c("Young", "Adult", "Old"), Value = sample(1:300)) histogram( ~Value | AgeGroup * Mode, data = stuff, auto.key = TRUE) Instead of having 2 * 3 panel, I want to hav