Interpolate CIF matrix
interp_cif.RdInterpolates cumulative incidence (CIF) functions (corresponding to one competing event only) using left-continuous constant interpolation.
Arguments
- x
(
matrix())
CIF matrix (rows = observations, columns = time points).- times
(
numeric()|NULL)
Anchor time points. IfNULL, extracted fromcolnames(x).- eval_times
(
numeric()|NULL)
New time points at which to interpolate. Values need to be unique, increasing non-negative numbers. IfNULL, the anchortimesare used.- add_times
(
logical(1))
IfTRUE, attacheval_timesas colnames in the output matrix.- check
(
logical(1))
IfTRUE, run input matrix validation checks usingassert_prob(); set toFALSEto skip checks (NOT recommended for external use).