Learn R Programming

lax (version 1.2.4)

logLik.logLikVec: Sum loglikelihood contributions from individual observations

Description

S3 logLik method for logLikVec objects.

Usage

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

Value

An object of class "logLik". This is the value of the loglikelihood, with attributes "df" (degrees of freedom) giving the number of free parameters, and "nobs" giving the number of observations.

Arguments

object

An object of class "logLikVec" return from a logLikVec method.

...

Further arguments.

Examples

See the example in bernoulli.

Details

See alogLik: loglikelihood adjustment for model fits.