[Rd] lm.influence doesn't work with na.exclude (PR#1001)

p.dalgaard@biostat.ku.dk p.dalgaard@biostat.ku.dk
Thu, 28 Jun 2001 16:12:47 +0200 (MET DST)


The new na.exclude mechanism for linear models does not extend to
influence measures and diagnostics.

For the same reason, the plot method breaks for lm objects computed
with na.action=na.exclude.

x<-1:10
y<-c(rnorm(9),NA)
lm.influence(lm(y~x,na.action=na.exclude))

#Error in lm.influence(lm(y ~ x, na.action = na.exclude)) : 
        NA/NaN/Inf in foreign function call (arg 6)

(This would have been our anniversary #1000 bug report, but some
spammer beat me to it - caught by Martin's filters, I assume)

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