Learn R Programming

dynr (version 0.1.8-17)

logLik.dynrCook: Extract the log likelihood from a dynrCook Object

Description

Extract the log likelihood from a dynrCook Object

Usage

"logLik"(object, ...)

Arguments

object
The dynrCook object for which the log likelihood is desired
...
further named arguments, ignored for this method

Value

An object of class logLik.

Details

The 'df' attribute for this object is the number of freely estimated parameters. The 'nobs' attribute is the total number of rows of data, adding up the number of time points for each person.

See Also

Other S3 methods coef.dynrCook

Examples

Run this code
# Let cookedModel be the output from dynr.cook
#logLik(cookedModel)

Run the code above in your browser using DataLab