Description Usage Arguments Value Examples
Simulates intervals for time-to-event data based on a study visit schedule
1 | sim_interval(t, pmiss, visits)
|
t |
vector of times-to-event |
pmiss |
probability of missing a study visit |
visits |
a vector of study visit times |
data.frame
1 2 | T <- rexp(10, 0.5)
sim_interval(T, 0.10, c(0, 1, 2, 3, 4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.