Description Usage Arguments Value
Generates simulated latent data from initial and transition probabilities. Incorporated in GenerateSimulatedData()
1 | GenerateData(n, t, p)
|
n |
number of individuals to generate data for |
t |
number of visits to generate data for |
p |
probability of being a stayer in the healthy state for latent data |
list of true data and vector of indicators for whether each individual is a stayer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.