DataGenerate: Generate observation for joint model between multivariate...

Description Usage Arguments Value Examples

View source: R/DataGenerate.R

Description

Generate observation for joint model between multivariate count outcome and continuous outcome The marginal distribution for the multivariate count outcome could be either Dirichlet - multinomial mixed model or multinomial logistic mixed model

Usage

1
DataGenerate(N, method, var.level)

Arguments

N

A number of subjects.

method

An argument defining the marginal distribution of the multivariate count outcome, either "dirmult" or "multl".

var.level

An argument of either "high" or "low" as defined in the simulation setting

Value

A dataset in wideformat consisting the observations of the multivariate count outcome for two time points, the covariate and the continuous outcome.

Examples

1
DataGenerate(100,method = "dirmult",var.level = "high")

IvonneMartin/JMoverCat documentation built on July 21, 2020, 12:12 a.m.