gam bug with poisson family? (PR#2234)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
31 Oct 2002 01:25:18 +0100


aukema@entomology.wisc.edu writes:

> Hello, I am relatively new to R (~6 months) so I hate to bother you if this is
> not a bug.  

Please use r-help rather than r-bugs then...

> I tried a GAM with a poisson family link, and I'm getting an error
> message that I do not understand.  Many apologies if this is user inexperience.
> Thanks, BHA.
> 
> > library(mgcv)
> This is mgcv 0.8.1
> > lcgam <- gam(lc ~ s(Day), family=poisson, data=lcset)
> Warning messages: 
> 1: `Machine' is deprecated.
> Use `.Machine' instead.
> See ?Deprecated. 

It's just a warning that gam is using old coding style that is about
to become defunct (specifically gam.fit is using Machine()$double.eps
where the preferred form is .Machine$double.eps). It's harmless but
mgcv 0.8-6 has removed the problem.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._