Learn R Programming

mpcmp (version 0.3.6)

logLik.cmp: Extract the (Maximized) Log-Likelihood from a COM-Poisson Model Fit

Description

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

Usage

# 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.

See Also

coef.cmp, fitted.cmp, glm.cmp