From therne@u @end|ng |rom m@yo@edu  Fri Apr  5 15:44:56 2019
From: therne@u @end|ng |rom m@yo@edu (Therneau, Terry M., Ph.D.)
Date: Fri, 05 Apr 2019 08:44:56 -0500
Subject: [Rd] [.terms issue
Message-ID: <b23057$bem5m2@ironport10.mayo.edu>

As? footnote, the error in survival:::untangle.specials is that it assumed that if 
attr(myterms, 'specials')[['strata']] was = to 4, then one could use myterms[-4] to remove 
the strata term.?? Not so.?? In the model? y ~? x1 + x2 + strata(x3)? the attritube will 
be 4 -- the response counts --- but to remove it I need to use [-3] since the response 
does not count in [.terms or drop.terms.

Is this an inconsistency that should be documented and/or repaired??? What would break if 
we did???? I don't know.? By chance, all the usages in the survival package happened after 
a call to delete.response so it would be immune to such a change.

Terry T.


	[[alternative HTML version deleted]]



[Rd] [.terms issue
Therneau, Terry M., Ph.D.