On Sun, 31 May 2009, Nick Reich wrote:
1. Can anyone verify that this is indeed a bug that's as simple as a typo in the package code?
It certainly looks like it.
2. I tried cutting and pasting the code for survreg.fit() into a new file, making the edit myself and then re-sourcing the function code to overwrite the "bad" function. But this isn't working. Is there a simple way to test out a new version of this function?
fixInNamespace("survreg.fit","survival") will let you edit it. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.edu University of Washington, Seattle ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.