[Rd] Small typo in An Introduction to R

mikalzet@libero.it mikalzet@libero.it
Tue, 19 Mar 2002 15:17:19 +0100 (CET)


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