R/logLik_extract_ic.R

Defines functions logLik_extract_ic

## File Name: logLik_extract_ic.R
## File Version: 0.071

logLik_extract_ic <- function( object )
{
    out <- - object$ic$deviance / 2
    attr(out, 'df') <- object$ic$np
    attr(out, 'nobs') <- object$ic$n
    class(out) <- 'logLik'
    return(out)
}
alexanderrobitzsch/mdmb documentation built on July 18, 2024, 11:14 p.m.