What is the assign
attribute of a linear model fit? It's supposed to somehow provide the position of the response term, but in practice it seems to enumerate all coefficients in the model. It's my understanding that assign
is a carryover from S and it's not supported by glm()
. I need to extract the equivalent information for glm
, but I don't understand what the implementation does for lm
and can't seem to find the source code either. The help file for lm.fit
says, unhelpfully:
non-null fits will have components
assign
,effects
and (unless not requested)qr
relating to the linear fit, for use by extractor functions such assummary
andeffects