On Wed, 6 Oct 2004, Prof Brian Ripley wrote:

On Wed, 6 Oct 2004, Thomas Lumley wrote:

No, they haven't been updated to cope with lazy loading (they are defined
in a top-level if statement to prevent conflicts in older versions of R).

vcov.coxph is actually
     vcov.coxph<-function (object, ...) {
         rval<-object$var
         dimnames(rval)<-list(names(coef(object)),names(coef(object)))
         rval
     }
since object$var doesn't have dimnames.

As Torsten has suggested, it looks like they were neither registered nor exported from the survival namespace, but the objects are in the namespace. (Nothing to do with lazy-loading, then.)

True. I misconstrued the advice against top-level code in packages.

        -thomas

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to