sim.idmModel | R Documentation |
Function to simulate illness-death model data
## S3 method for class 'idmModel'
sim(
x,
n,
illness.known.at.death = TRUE,
compliance = 1,
latent = FALSE,
keep.inspectiontimes = FALSE,
...
)
x |
An |
n |
Number of observations |
illness.known.at.death |
Affects the value of variable seen.ill |
compliance |
Probability of missing an inspection time. |
latent |
if TRUE keep the latent event times |
keep.inspectiontimes |
if |
... |
Extra arguments given to |
Based on the functionality of the lava PACKAGE
A data set with interval censored observations from an illness-death model
Thomas Alexander Gerds
example(idmModel)
help(idmModel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.