Description Usage Arguments Details Value See Also Examples

Extract the log likelihood from a dynrCook Object

1 2 3 4 5 |

`object` |
The dynrCook object for which the log likelihood is desired |

`...` |
further named arguments, ignored for this method |

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.

In the case of `logLik`

, an object of class `logLik`

.

Other S3 methods `coef.dynrCook`

1 2 | ```
# Let cookedModel be the output from dynr.cook
#logLik(cookedModel)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.