[R] Logit reality check
David Meyer
meyer at ci.tuwien.ac.at
Sun Sep 28 18:17:20 CEST 2003
> > If I try the model below, R seems to grumble with a complaint.
> >
> > glm(cbind(Y,1-Y) ~ X, family = binomial)
> >
> > non-integer counts in a binomial glm! in: eval(expr, envir, enclos)
> >
For binomial models (as described in the help page), the response must be
either a factor or a n x 2 matrix with the numbers of successes of
failures, not the proportions.
g.,
David
More information about the R-help
mailing list