R/logLik.weibull.frailty.R

logLik.weibull.frailty <-
function (object, ...) {
    out <- object$logLik
    attr(out, "df") <- length(unlist(object$coefficients))
    attr(out, "nobs") <- length(unique(object$id))
    class(out) <- "logLik"
    out    
}

Try the JM package in your browser

Any scripts or data that you put into this service are public.

JM documentation built on Aug. 8, 2022, 5:09 p.m.