Learn R Programming

epigrowthfit (version 0.15.4)

logLik.egf: Extract the Log (Marginal) Likelihood

Description

Extracts from a model object the value of the log marginal likelihood. Whether the result represents a local maximum depends on, among other things, convergence of the optimizer.

Usage

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

Value

A numeric vector of length 1 inheriting from class logLik. Attribute df is the number of estimated parameters (fixed effect coefficients and random effect covariance parameters). Attribute nobs is the number of observations of disease incidence used in estimation.

Arguments

object

an egf object.

...

unused optional arguments.

See Also

The generic function logLik.