explicit weights=NULL fails in glm,lm (PR#297)

thomas@biostat.washington.edu thomas@biostat.washington.edu
Mon, 25 Oct 1999 19:34:29 +0200 (MET DST)


example(glm)
glm(formula = counts ~ outcome + treatment, family =poisson(),weights=NULL)


This is because model.frame() doesn't treat explicit NULLs the same as
missings. 


version: 
         _                   
platform sparc-sun-solaris2.7
arch     sparc               
os       solaris2.7          
system   sparc, solaris2.7   
status   Patched (unreleased)
major    0                   
minor    65.1                
year     1999                
month    October             
day      07                  
language R                   

and

version:
platform sparc-sun-solaris2.7        
arch     sparc                       
os       solaris2.7                  
system   sparc, solaris2.7           
status   Under development (unstable)
major    0                           
minor    90.0                        
year     1999                        
month    October                     
day      23                          
language R                           



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