powered by
Function to simulate interval censored survival data
# S3 method for survIC sim(x, n, compliance = 1, latent = TRUE, keep.inspectiontimes = FALSE, ...)
A data set with interval censored observations
An survIC object as obtained with survIC
survIC
Number of observations
Probability of missing an inspection time.
if TRUE keep the latent event times
if TRUE keep the inspection times.
TRUE
Extra arguments given to sim
sim
Thomas Alexander Gerds
Based on the functionality of the lava PACKAGE
library(lava) example(survIC) help(survIC) ol <- survIC() dat.ol <- sim(ol,10)
Run the code above in your browser using DataLab