[R] side by side plot of Histogram and densityplot

2006-10-13 Thread Jue.Wang2
Using par seems easily put a hist and a density side by side on the same output window. I would like to use some features in histogram from Lattice, but how can I put histogram and densityplot side by side on the same graph? Thank you par(mfrow=c(2,1)) hist(y) plot(density(y)) Jue Wang,

Re: [R] side by side plot of Histogram and densityplot

2006-10-13 Thread Deepayan Sarkar
On 10/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Using par seems easily put a hist and a density side by side on the same output window. I would like to use some features in histogram from Lattice, but how can I put histogram and densityplot side by side on the same graph?