Re: [R] plotEst

From: sigalit mangut-leiba <>
Date: Tue, 19 Feb 2008 22:11:37 +0200

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:





df<-data.frame(SE, OR, lcl, ucl, Z=gl(2,4))

ggplot(data=df, aes(x=SE, y=OR, colour=Z))+ geom_line() As I said, I get 2 lines without conf. limits, which i want to add. Thank you for your reply,

On 2/19/08, hadley wickham <> wrote:
> > 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
> --

        [[alternative HTML version deleted]] mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 19 Feb 2008 - 20:14:14 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 19 Feb 2008 - 22:30:16 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive