[R] plotting confidence intervals

Greg Snow Greg.Snow at imail.org
Wed Jul 15 21:49:35 CEST 2009


I believe there is a set of options in the ggplot2 package that will create a plot and add the confidence region to it, you will need to look at the documentation for ggplot2, I don't know the details (have not made it that far on my to do list, not anything against the package).

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Erin Hodgess
> Sent: Tuesday, July 14, 2009 9:40 AM
> To: R help
> Subject: [R] plotting confidence intervals
> 
> Hi R People:
> 
> If I have a fitted values from a model, how do I plot the
> (1-alpha)100% confidence intervals along with the fitted values,
> please?
> 
> Also, if the intervals are "shaded" gray, that would be nice too,
> please?
> 
> I check confint, but that doesn't seem to do what I want.
> 
> Thanks in advance,
> Sincerely,
> Erin
> 
> 
> --
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list