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
[EMAIL PROTECTED] University of Washington, Seattle______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html