[R] glm families in R

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Jan 12 15:30:58 CET 1999


"Francisco Cribari" <cribari at de.ufpe.br> writes:

> Is the following difference between S+ and R normal or is it a bug? 
> Thanks. FC. 
> 
> PS: S+ 4.5 for Windows and R 0.63.1 for Windows. 
> 
> S-PLUS output:
> 
> > inverse.gaussian()$deriv
> > function(mu)
> > -2/mu^3
>  
> R output:
> 
> > inverse.gaussian()$deriv
> > NULL

This is normal, R doesn't use $deriv in glm families. However,

> inverse.gaussian()$mu.eta
function (eta) 
-1/(2 * eta^1.5)
<environment: 0x4059d28c>


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