Skip to content
Back to formatted view

Raw Message

Message-ID: <3EC3D94A.8050700@pdf.com>
Date: 2003-05-15T18:15:38Z
From: Spencer Graves
Subject: plot question

Have you considered "predict.lm"?  The documentation includes an example 
that will produce predicted lines plus both confidence and tolerance 
intervals.  Follow that with "points(x, y)" to add the data points.

hope this helps.  spencer graves

David Nogu?s wrote:
> Hello:
> 
> 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?