From therneau at mayo.edu  Mon Mar 14 18:56:16 2011
From: therneau at mayo.edu (Terry Therneau)
Date: Mon, 14 Mar 2011 12:56:16 -0500
Subject: [Rd] coxph and drop1
In-Reply-To: <web-346112498@cgpsrv2.cis.mcmaster.ca>
References: <201103141642.p2EGg45V022656@punchbuggy.mayo.edu>
	<web-346112498@cgpsrv2.cis.mcmaster.ca>
Message-ID: <1300125376.22943.3.camel@punchbuggy>


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.



[Rd] coxph and drop1
Terry Therneau