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

Emmanuel Paradis
Thu, 28 Feb 2002 11:09:54 -0000

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._