Description Usage Arguments Examples

Fit a joint mean-correlation model to discrete longitudinal data.

1 2 |

`formula` |
a two-sided linear formula object describing the correlation for both the mean and correlation matrix part of the model, with the response, the corresponding subject id and measurement time on the left of a operator~, divided by vertical bars ("|"). |

`data` |
data frame containing the variables named in formula. |

`q` |
degree of polynomial of the time lag to model the lower triangular matrix. |

`theta` |
starting values for the parameters in the model. |

`W.appendix` |
appendix array to model time-dependent covariates for the lower triangular matrix. |

`offset` |
a term to be added to the linear predictor. |

`family` |
the marginal distributions of the discrete variables. choose 'Bernoulli', 'Poisson' or 'Nbinom'. |

1 2 3 |

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.