Hi,

i have this glm:
shuttle.glm.test <-
glm(cbind(r,m-r)~temperature,family=binomial,data=shuttle)

and when i try to find a probability of var r (with temperature=31 and
pressure=200):

predict(shuttle.glm.test,data.frame(temperatura=31,pressure=200),type="response",se=T)


i have this error:

Warning message:
'newdata' had 1 rows but variable(s) found have 23 rows

why??


thanks.


Michele

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to