Re: [R] plotEst

2008-02-23 Thread sigalit mangut-leiba
Thank you for your suggestion, now I get 2 lines but confidence limits just for the first one.. do you know what I'm doing wrong?! Thanks again, Sigalit. On 2/23/08, hadley wickham <[EMAIL PROTECTED]> wrote: > > On Tue, Feb 19, 2008 at 3:53 PM, sigalit mangut-leiba <[EMAIL PROTECTED]> > wrote: >

Re: [R] plotEst

2008-02-23 Thread hadley wickham
On Tue, Feb 19, 2008 at 3:53 PM, sigalit mangut-leiba <[EMAIL PROTECTED]> wrote: > Sorry to disturb, > I managed to plot 2 together with 'layer' like this: > > > > qplot(se, or, min=lcl1, max=ucl1, data=df1, geom="pointrange")+layer(data = > df2, mapping = *aes*(x = se, y = OR2,min=lcl2,max=ucl2

Re: [R] plotEst

2008-02-19 Thread sigalit mangut-leiba
Sorry to disturb, I managed to plot 2 together with 'layer' like this: qplot(se, or, min=lcl1, max=ucl1, data=df1, geom="pointrange")+layer(data = df2, mapping = *aes*(x = se, y = OR2,min=lcl2,max=ucl2), geom = "pointrange")+geom_line() My only problem is that It doesn't plot the line (geom_line

Re: [R] plotEst

2008-02-19 Thread sigalit mangut-leiba
Sorry, I want to plot 2 lines (or pointrange like I used before) together, with confidence limits of the estimates. I want to plot another curve as I did for the first one (with qplot like you suggested). I know how to do it with ggplot *without* confidence limits: SE<-c(0.6,0.7,0.8,0.9) OR<-c(2.

Re: [R] plotEst

2008-02-19 Thread hadley wickham
> Another question: Can I add another line to the same plot with qplot? > (like function "lines" in "plot"). Yes. (if you want more details, tell us what you're trying to do!) Hadley -- http://had.co.nz/ __ R-help@r-project.org mailing list https:/

Re: [R] plotEst

2008-02-19 Thread sigalit mangut-leiba
On 2/16/08, hadley wickham <[EMAIL PROTECTED]> wrote: > > On Feb 16, 2008 9:11 AM, sigalit mangut-leiba <[EMAIL PROTECTED]> wrote: > > Hello, > > This is the first time i'm trying to plot in R. I want to plot estimates > of > > OR and their confidence limits, like a scatter plot: > > the vertical a

[R] plotEst

2008-02-19 Thread sigalit mangut-leiba
-- Forwarded message -- From: sigalit mangut-leiba <[EMAIL PROTECTED]> Date: Feb 19, 2008 12:17 PM Subject: Re: [R] plotEst To: r-help <[EMAIL PROTECTED]> On 2/16/08, hadley wickham <[EMAIL PROTECTED]> wrote: > > On Feb 16, 2008 9:11 AM, sigalit mangut

Re: [R] plotEst

2008-02-16 Thread hadley wickham
On Feb 16, 2008 9:11 AM, sigalit mangut-leiba <[EMAIL PROTECTED]> wrote: > Hello, > This is the first time i'm trying to plot in R. I want to plot estimates of > OR and their confidence limits, like a scatter plot: > the vertical axis should be the estimated OR (with upper and lower conf. > limits)

[R] plotEst

2008-02-16 Thread sigalit mangut-leiba
Hello, This is the first time i'm trying to plot in R. I want to plot estimates of OR and their confidence limits, like a scatter plot: the vertical axis should be the estimated OR (with upper and lower conf. limits), and the horizontal exis should be fixed values: (1,0.8,0.7,0.6,0.5,0.4) Here is