[Rd] coxph and drop1
Terry Therneau
therneau at mayo.edu
Mon Mar 14 18:56:16 CET 2011
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 message should be informative if one of the prescribed values isn't supplied.
>
> Best,
> John
>
> ------------------------------------------------
> John Fox
I stand corrected. I was looking at the help page and focused my eyes
on the "default" and "lm" versions, both of which have the test argument
with options none and chisq. I should have looked higher on the page.
Terry T.
More information about the R-devel
mailing list