Robert John Foxall
rjf at waca.sys.uea.ac.uk
Thu Apr 5 19:11:48 CEST 2001
Probably a stupidly easy question, but I have done the following
in order to make predictions from a fitted glm with new data:
my.glm <- glm(lt96~so296[,1:17],family=binomial(link=logit))
p96 <- predict.glm(my.glm,newdata=so293[,1:17],type="response")
but I always get the fitted linear predictors from the original model, ie
there doesn't seem to be acknowledgement of the new data. Linux on my
machine, running R version 1.1.1 (will upgrade soon!).
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