R/logLik.modTempEff.R

logLik.modTempEff<-function (object, ...){
    if (length(list(...))) warning("extra arguments discarded")
    p <- sum(object$edf)
    val <- p - object$aic/2
    attr(val, "df") <- p
    class(val) <- "logLik"
    val
}

Try the modTempEff package in your browser

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

modTempEff documentation built on May 1, 2019, 10:08 p.m.