[R] Trouble with glm() .... non-integer #successes in a binomial glm

2006-04-19 Thread Smith, Phil
Hi R-people: When I use the command to fit a model with an intercept, only: glm ( formula=haspdata ~ 1, data=dat, family=binomial, weights= dat$hy.wgt.s, subset=(dat$haspdat0!=3) ) I get the message: Warning message: non-integer #successes in a binomial glm! in: eval(expr, envir, enclos)

Re: [R] Trouble with glm() .... non-integer #successes in a binomial glm

2006-04-19 Thread Thomas Lumley
On Wed, 19 Apr 2006, Smith, Phil wrote: Hi R-people: When I use the command to fit a model with an intercept, only: glm ( formula=haspdata ~ 1, data=dat, family=binomial, weights= dat$hy.wgt.s, subset=(dat$haspdat0!=3) ) I get the message: Warning message: non-integer #successes in a