Re: [R] a bug in the offset parameter syntax in the geepack package?

2009-08-20 Thread ahnven
I found that the syntax ahnven wrote: model=geeglm(y~covariates,offset(log(xxx)),data=data,family=poisson,id=idx) indeed fits offset(log(xxx)) as weights. -- View this message in context: http://www.nabble.com/a-bug-in-the-offset-parameter-syntax-in-the-geepack-package

[R] a bug in the offset parameter syntax in the geepack package?

2009-08-19 Thread ahnven
Dear R-users, I was doing some Poisson regression using the geepack package and I found a strange behaviour of the geeglm command when defining an offset. Maybe it's my limited knowledge of R syntax, or maybe it's something else. Let's make an example. After loading the geepack library, you may