## S3 method for class 'dynrCook'logLik(object,...)## S3 method for class 'dynrCook'deviance(object,...)
Arguments
object: The dynrCook object for which the log likelihood is desired
...: further named arguments, ignored for this method
Returns
In the case of logLik, 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.
The deviance method returns minus two times the log likelihood.