On Sat, 8 Jul 2006, S?ren Merser wrote:
> Hi
>
> It seems that survfit() doesn't accept the argumnet 'error' as
below
>
>> survfit(fit, error='greenwood')
> Error in survfit.coxph(fit, error = "greenwood") :
> unused argument(s) (error ...)
>
> Isn't is allowed to do that for a coxph object?
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