Skip to content
Prev 43798 / 398513 Next

Histograms by two factors

"Briggs, Meredith M" <Meredith.Briggs at team.telstra.com> writes:
Tapply accepts a list of factors, tapply(y,list(Df1,Df2),mean), and so
forth (and the help page does say so...).
You do get to view the others, just not for very long ;-)
par(ask=TRUE) is one possible answer. 
Others include 
- turning on plot history (in the Windows GUI) or use
  recordPlot/replayPlot
- switching graphics device to a file and viewing it later
- opening a separate graphics device for each histogram
- setting up for multiple plots on the same page.