Description Usage Arguments Value Examples
Called by gen_IC_data() to turn the actual outcome times and observation times into interval-censored outcomes for each subject. Apply this with mapply over a data.frame of visit times, pass in the exact times.
1 | createInt(obsTimes, eventTime)
|
obsTimes |
A vector of all the times a subject is observed. |
eventTime |
The exact event time for the subject. |
A 2*1 vector which is the interval of the event time
1 2 3 | obsTimes <- 1:10
eventTime <- 7.7
createInt(obsTimes, eventTime)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.