Re: [Rd] predict.glm line 28. Please explain

2014-01-13 Thread Gabriel Becker
Paul, These are inferences from the code you included. I didn't write and have not looked particularly closely at predict.glm... object is getting passed to predict.lm in certain situations by the code you included. This is how altering the object will affect behavior. The inner function calls ge

[Rd] predict.glm line 28. Please explain

2014-01-13 Thread Paul Johnson
I imitated predict.glm, my thing worked, now I need to revise. It would help me very much if someone would explain predict.glm line 28, which says object$na.action <- NULL # kill this for predict.lm calls I want to know 1) why does it set the object$na.action to NULL 2) what does the commen