Description Usage Arguments Value
View source: R/updateVariables.R
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.
1 2 | 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 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.