Description Format Value Methods Public fields Active bindings Methods Examples
run ipcw based on initial fit
run ipcw based on initial fit
R6Class
object.
Object of R6Class
with methods
fit fit one time point
A
vector of treatment
T_tilde
vector of last follow up time
Delta
vector of censoring indicator
density_failure
survival_curve object of predicted counterfactual survival curve
density_censor
survival_curve object of predicted counterfactual failure event survival curve
g1W
propensity score
A_intervene
the intervention of interest
k_grid
vector of interested time points
k_grid
vector of interested time points
new()
ipcw$new(A, T_tilde, Delta, density_failure, density_censor, g1W, A_intervene)
fit()
ipcw$fit(k)
clone()
The objects of this class are cloneable with this method.
ipcw$clone(deep = FALSE)
deep
Whether to make a deep clone.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.