[R] From THE R BOOK -> Warning: In eval(expr, envir, enclos) : non-integer #successes in a binomial glm!

Graham Smith myotisone at gmail.com
Tue Mar 30 19:06:09 CEST 2010


Corrado


> I am afraid not .... the paragraph's title is a bit of a give away:
>
> Proportion Data and Binomial Errors
>
> The sentence reads:

> " .... are dealt with by using a generalised linear model with a binomial
> error structure".
>
> with the example:
>
> glm(y~x,family=binomial)
>
> You can check at page 514/515.

It would be better to check Chapter 16 (from page 569) on Proportions.
The pages you cite don't come across to me as an example of how this
procedure should be carried out, but rather a trivial example on the
changes in syntax between a linear model and a GLM.

Graham



More information about the R-help mailing list