calc_ipcw_pos | R Documentation |
Compute inverse probability of censoring weights pseudo observations
calc_ipcw_pos(mr, time, causen, type, ipcw.method, Gi)
mr |
Model response object returned by Surv |
time |
Max time |
causen |
Cause of interest (numeric) |
type |
Outcome type, "cuminc", "survival", or "rmean" |
ipcw.method |
"binder" or "hajek" |
Gi |
vector of estimated censoring probabilities |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.