R/logLik.StratSel.R

logLik.StratSel <- function(object, ...) #UseMethod("logLik")
#print.logLik <- function(x, digits = getOption("digits"), ...)
{
	if(missing(digits)) digits = getOption("digits")
	x <- object
	ll <- x$logLik
    cat("'log Lik.' ", paste(format(c(ll), digits = digits), collapse = ", "),
        " (df=", length(coef(x)), ")\n", sep = "")
    invisible(x)
}

Try the StratSel package in your browser

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

StratSel documentation built on May 2, 2019, 11:11 a.m.