Description Usage Arguments Value
View source: R/model_simulation.R
Simulates data from from
to to
for each subject using the
metastate model provided in add_metastate_model()
and the trained model
fits created during train()
.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
daps |
A |
static |
A data frame with a unique numeric column |
longitudinal |
A data frame with a numeric |
from, to |
Each should be a nonzero integer corresponding to the
time point (i.e., the value of |
s |
A nonzero integer indicating the number of simulations to perform. |
start_metastate |
A character string indicated the initial state of the
subjects (i.e., at |
A list of tibble
s
with length s
with
simulated data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.