>>>>> "AM" == Arnab mukherji <[EMAIL PROTECTED]> writes:

    AM> Any advice would be really helpful.
Read the documentation of predict and then the one of predict.glm? ;-) 

I guess you actually wanted to do one of the following:

> yhat<-predict(g, dat, type="response")
> range(yhat)
[1] 0.2760238 0.9229622

or,

> yhat<-fitted(g)
> range(yhat)
[1] 0.2760238 0.9229622

Cheers,

        Berwin

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to