Skip to content
Prev 75045 / 398502 Next

prediction from glm

Hugues Santin-Janin <hsantin-janin <at> gct.org.uk> writes:
..
You should use the newdata argument in predict.glm to construct the "should-be" 
data set. The example on the page ?predict.glm creates budworm-data on the fly, 
but it's probably easier to understand if you create a separate data frame 
myfemales first, the do predict(Model1, newdata=myfemales,..) in a separate 
step.

Dieter Menne