An accessor function used to extract the (maximized) log-likelihood from a 'cmp' object.

# S3 method for cmp
logLik(object, ...)

# S3 method for logLik.cmp
print(x, ...)

Arguments

object

an object of class 'cmp' object, obtained from a call to glm.cmp

...

other arguments passed to or from other methods (currently unused).

x

an object of class 'logLik.cmp', obtained from a call to logLik.cmp.