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, ...)
A list of data.frame
objects.
Numeric vector indicating the labels of all causes of failure.
Numeric vector indicating ftypeOfInterest
that was
passed to hazard_tmle
.
The number of unique failure types.
The values of trtOfInterest
passed to mean_tmle
.
The number of trt
values of interest.
The timepoint at which survtmle
was called to evaluate.
A boolean indicating whether the function should print messages to indicate progress.
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.