logLik.survreg <- function(object, ...) {
val <- object$loglik
attr(val, "df") <- object$df
class(val) <- "logLik"
val
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.