Description Usage Format Details References Examples

A data frame with 2000 observations on the following 6 variables. multiLongCount is a simulated bivariate longitudinal count dataset assuming there are 500 subjects in the study whose data are collected at 4 equally-spaced time points.

1 |

A data frame with 2000 observations on the following 6 variables.

`ID`

a numeric vector for subject ID

`resp1`

a numeric vector for the first longitudinal count response

`resp2`

a numeric vector for the second longitudinal count response

`X`

a numeric vector for the covariate, X

`time`

a numeric vector for the time point at which observations are collected

`X.time`

a numeric vector for the interaction between X and time

The covariates, X and time are the standardized values indeed. The related interaction is calculated by using these standardized values. X is a time-independent covariate. The R script to generate the data set is given in the Examples section of the mmm function.

Asar, O. (2012). *On multivariate longitudinal binary data models and their applications in forecasting*. MS Thesis, Middle East Technical University

Erhardt, V. (2009). corcounts: Generate Correlated Count Random Variable. R package version 1.4. URL http://CRAN.R-project.org/package=corcounts.

1 2 | ```
data(multiLongCount)
plot(multiLongCount$X,multiLongCount$resp1)
``` |

mmm documentation built on May 30, 2017, 6:08 a.m.

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.