A helper function that maps hazard estimates into estimates of cumulative incidence and updates the "clever covariates" used by the targeted minimum loss-based estimation fluctuation step.
updateVariables( dataList, allJ, ofInterestJ, nJ, uniqtrt, ntrt, t0, verbose, ... )
| dataList | A list of |
|---|---|
| allJ | Numeric vector indicating the labels of all causes of failure. |
| ofInterestJ | Numeric vector indicating |
| nJ | The number of unique failure types. |
| uniqtrt | The values of |
| ntrt | The number of |
| t0 | The timepoint at which |
| verbose | A |
| ... | Other arguments. Not currently used. |
The function returns a list that is exactly the same as the input
dataList, but with updated columns corresponding with estimated
cumulative incidence at each time and estimated "clever covariates" at each
time.