# [Rd] Small typo in An Introduction to R (PR#1403)

**mikalzet@libero.it
**
mikalzet@libero.it

*Thu, 21 Mar 2002 08:48:49 +0100 (MET)*

At a snail's pace I keep on translating an introduction to R into italian;
I have reached the section describing the glm() function, in which some
example code is presented. The very last line of code, before the
beginning of the section on Poisson models is:
ldp <- ld50(coef(fmp)); ldl <- ld50(coef(fmp)); c(ldp, ldl)
which of course gives results 43.663 and 43.663; the correct code should
be:
ldp <- ld50(coef(fmp)); ldl <- ld50(coef(fml)); c(ldp, ldl)
which gives the expected results 43.663 and 43.601
--
Michele Alzetta
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._