I get an error message when trying to specify a scale offset using
geese() in library(geepack). Here is a dummy example:

v <- rep( 1:2, each = 100 )
x <- rnorm( 200 ) * sqrt( v )
i <- 1:200
summary( geese( x~1, id=i ) ) # works ok
summary( geese( x~1, id=i, soffset=v ) ) # fails

Error in geese.fit(x, y, id, offset, soffset, w, waves, zsca, zcor, corp,  :
  mean.link invalid.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to