R/logLik.sbchoice.R

Defines functions logLik.sbchoice

Documented in logLik.sbchoice

logLik.sbchoice <- function(object, ...)
{
    out <- summary(object)$loglik
    attr(out, "df") <- sum(!is.na(coefficients(object)))
    attr(out, "nobs") <- object$nobs
    class(out) <- "logLik"
    out
}

Try the DCchoice package in your browser

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

DCchoice documentation built on May 2, 2019, 4:44 p.m.