[R] plotting SE

Peter Dalgaard P.Dalgaard at biostat.ku.dk
Tue Dec 4 15:03:31 CET 2007


Duccio - wrote:
> I used the lm function for a univariate regression model.
> Then I plotted it within the x/y scatterplot by abline(lm).
> I would like to plot standard error (or confidence intervals but SE should
> be better)...
> Any suggestion?
>   

help(predict.lm) has an example of this.

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-help mailing list