[R] Question about predict.glm

brian_adams@jbadams.com brian_adams at jbadams.com
Sat Jul 8 15:22:08 CEST 2000


I am trying to use predict.glm to validate a logistic model.  Using

predictions <- predict.glm(logit.model, type="response",
dataframe="validate")

I get the predictions from the original dataframe, not the validation
data frame.  Am I missing an input to the method or is this what is
supposed to happen?



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 mailing list