Extracts the maximized log-likelihood from fitted models of formal class “glimML”.
# S4 method for glimML
logLik(object, ...)
A numeric scalar with 2 attributes: “df” (number of parameters in the model) and “nobs”
(number of observations = degrees of freedom of the residuals + number of parameters in the model).
A fitted model of formal class “glimML” (functions betabin
or negbin
).
Other arguments passed to methods.
Generic function: see logLik
.
Extract the maximized log-likelihood from models of formal class “glimML”, fitted by functions
betabin
and negbin
.
logLik
in package stats.