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 have just 3 panel, overlapping the "Mode" into the same panel. I tried the following: histogram( ~Value | AgeGroup, data = stuff, groups = Mode, auto.key = TRUE) but I think it gave me incorrect result. Any help is appreciated. Thank you, Ferry [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.