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]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
  • [Rd] Error in [.terms Therneau, Terry M., Ph.D. via R-devel
    • Re: [Rd] error in [.terms Therneau, Terry M., Ph.D. via R-devel

Reply via email to