R-beta: offset code in glm....

Mike Meyer mikem at stat.cmu.edu
Wed Jun 3 21:34:50 CEST 1998

I'm trying delve into the offset code in glm, and I have to admit I'm getting 

My particular concern is that if you do something like

	glm( fred ~ wilma, offset=barney, data=betty)

then the offset is not found if  barney is a component of the data frame 
betty. (If you do the same thing with weights, then the weight is found in the 
data frame).

I don't know if this is a design decision, and I can't follow the logic of the

I'm willing to try to fix the behaviour of the offset code, but I could use 
some help understanding what all the current code.  In particular is the 
function called
(which seems to play with offsets?) used anywhere.

Thanks, --Mike

Mike Meyer, Department of Statistics, Carnegie Mellon University

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list