Re: [R] Overlay plots from different data sets using the Lattice package

2008-04-01 Thread Christoph Meyer
Hi all, I'm a newbie to lattice graphics. I think I have a very similar problem trying to overlay plots from different data sets. I tried a number of different things but don't seem to get it to work. I am using xYplot from library Hmisc to produce a lattice plot with Median plus error bands plott

Re: [R] Overlay plots from different data sets using the Lattice package

2008-01-15 Thread hadley wickham
On Jan 15, 2008 12:27 PM, Dieter Menne <[EMAIL PROTECTED]> wrote: > hadley wickham gmail.com> writes: > > > qplot(vals, ..density.., data = data.frame.A, geom="histogram", facets > > = factor.1 ~ factor.2, binwidth = 1) + geom_density(data=data.frame.B) > > uhh.. how should I understand "y (?)=..d

Re: [R] Overlay plots from different data sets using the Lattice package

2008-01-14 Thread Deepayan Sarkar
On 1/14/08, Erin Steiner <[EMAIL PROTECTED]> wrote: > #After spending the entire day working on this question, I have > decided to reach out for support: > > #I am trying to overlay a densityplot from one data set over a > histogram of another, if I were to plot the two individually, they > would l

Re: [R] Overlay plots from different data sets using the Lattice package

2008-01-14 Thread hadley wickham
On Jan 14, 2008 7:30 PM, Erin Steiner <[EMAIL PROTECTED]> wrote: > #After spending the entire day working on this question, I have > decided to reach out for support: > > #I am trying to overlay a densityplot from one data set over a > histogram of another, if I were to plot the two individually, t

[R] Overlay plots from different data sets using the Lattice package

2008-01-14 Thread Erin Steiner
#After spending the entire day working on this question, I have decided to reach out for support: #I am trying to overlay a densityplot from one data set over a histogram of another, if I were to plot the two individually, they would look like: # data frame construction data.frame.A <- data.fram