[R] glm() functions

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu Feb 11 18:53:13 CET 1999


John Logsdon <j.logsdon at lancaster.ac.uk> writes:

> Despite searching (no doubt in the wrong place) I can't seem to find
> simple things like the linear predictor or deviance residuals from the
> glm() function.  Obviously it is possible to code particular instances but
> would I be wasting my time?  ie are ther such functions?

residuals(glm(...))
predict(glm(...))

Both give want you want as default. (Check the residuals.glm and
fitted.glm help pages).

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list