Skip to content
Prev 43472 / 63424 Next

model.frame and predvars

On 05/06/2012 16:17, Terry Therneau wrote:
T'other way round ... it would have needed a conscious decision to 
preserve them: these all predate xlevels and predvars.

model.matrix.lm does make use of xlevels, and I think that explains the 
difference as most lm() auxiliaries use the model matrix.

And I don't see predvars used in survival:::model.frame.coxph.