createInt: 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.
Description
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.
Usage
createInt(obsTimes, eventTime)
Value
A 2*1 vector which is the interval of the event time