Skip to contents

Provides compatibility with the standard R logLik() generic. The returned object has class "logLik" with attributes df (number of estimated parameters) and nobs (number of observations), enabling automatic AIC() and BIC() support.

Usage

# S3 method for class 'mle'
logLik(object, ...)

Arguments

object

the `mle` object

...

additional arguments (not used)

Value

An object of class "logLik", or NULL if the log-likelihood is not available.