Re: [Rd] coxph and drop1

2011-03-14 Thread Terry Therneau
On Mon, 2011-03-14 at 12:52 -0400, John Fox wrote: > Dear Terry, > > Possibly I'm missing something, but since the generic drop1() doesn't have a > test argument, why is there a problem? > > > args(drop1) > function (object, scope, ...) > > If you use match.arg() against test, then the error

Re: [Rd] coxph and drop1

2011-03-14 Thread John Fox
Dear Terry, Possibly I'm missing something, but since the generic drop1() doesn't have a test argument, why is there a problem? > args(drop1) function (object, scope, ...) If you use match.arg() against test, then the error message should be informative if one of the prescribed values isn't s