sim.survIC | R Documentation |
Function to simulate interval censored survival data
## S3 method for class 'survIC'
sim(x, n, compliance = 1, latent = TRUE, keep.inspectiontimes = FALSE, ...)
x |
An |
n |
Number of observations |
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
Thomas Alexander Gerds
library(lava)
example(survIC)
help(survIC)
ol <- survIC()
dat.ol <- sim(ol,10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.