[R] get deviance from glm() for given parameter values

Emmanuel Paradis paradis at isem.univ-montp2.fr
Thu Feb 28 12:09:54 CET 2002


Dear all,

I would like to get glm() return its results (at least the deviance) for
some given parameter values (ie without actually fitting the model). I
tried to set `maxit = 0' but this does not work, eg:

> glm(y ~ x, start = c(1, 1), maxit = 0)
Error in glm.control(...) : maximum number of iterations must be > 0


Any idea?

Thanks in advance.


Emmanuel Paradis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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