[R] plot question

Marc Schwartz mschwartz at medanalytics.com
Thu May 15 20:23:19 CEST 2003

>-----Original Message-----
>From: r-help-bounces at stat.math.ethz.ch 
>[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of David Nogués
>Sent: Thursday, May 15, 2003 12:41 PM
>To: R-help
>Subject: [R] plot question
>Im a novice user of R. I was triying develop graphs with plot.lm or 
>plot(gam) but I dont obtain a desire result. I would like to create a

>plot from lm, glm and gam objects showing:
>1- Fit curve
>2- Raw data of predictor and response variables as points.
>3- Confidence intervals (95%)
>Anybody can help me?  
>David Nogués Bravo

Here is a link to a post of mine back in March which provides example
code for plot.lm():



Marc Schwartz

More information about the R-help mailing list