From therne@u @end|ng |rom m@yo@edu  Mon Oct  7 15:00:01 2019
From: therne@u @end|ng |rom m@yo@edu (Therneau, Terry M., Ph.D.)
Date: Mon, 07 Oct 2019 08:00:01 -0500
Subject: [Rd] error in [.terms
Message-ID: <771925$chdf2n@ironport10.mayo.edu>

As a footnote, the update.formula function shares one of the flaws I mentioned in the 
earlier post

 > test <-? y ~ x1 + (x2=='abc') + x3
 > update(test, . ~ .-x3)
y ~ x1 + x2 == "abc"

The original formula is valid but the updated one is not.

Terry T.


	[[alternative HTML version deleted]]



[Rd] error in [.terms
Therneau, Terry M., Ph.D.