This function adds columns to linelist data representing an observation process with daily primary and secondary censoring, as well as right truncation. The columns added are:
ptime_daily
: The floor ofptime
ptime_lwr
: The lower bound ofptime
. Equal toptime_daily
ptime_upr
: The upper bound ofptime
. Equal toptime_lwr + 1
stime_daily
: The floor ofstime
stime_lwr
: The lower bound ofstime
. Equal tostime_daily
stime_upr
: The upper bound ofstime
. Equal tostime_lwr + 1
delay_daily
: Given bystime_daily - ptime_daily
delay_lwr
: Given bydelay_daily - 1
(or 0 ifdelay_daily < 1
)delay_upr
: Given bydelay_daily + 1
obs_time
: The maximum value ofstime
See also
Other observe:
filter_obs_by_obs_time()
,
filter_obs_by_ptime()