Skip to content

survfit, unused argument(s) (error ...)

2 messages · Søren Merser, Thomas Lumley

#
Hi 

It seems that survfit() doesn't accept the argumnet 'error' as below
Error in survfit.coxph(fit, error = "greenwood") : 
        unused argument(s) (error ...)

Isn't is allowed to do that for a coxph object?

Regards Soren

Windows XP, SP2
R 2.3.0
1 day later
#
On Sat, 8 Jul 2006, S?ren Merser wrote:

            
Looking at the code it seems that you need vartype="greenwood", so the 
documentation is wrong.

 	-thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle