WA_recurrent | R Documentation |
Considers the ratio of means
E(N(min(D,t)))/E(min(D,t))
and the the mean of the events per time unit
E(N(min(D,t))/min(D,t))
both based on IPCW etimation. RMST estimator equivalent to Kaplan-Meier based estimator.
WA_recurrent(
formula,
data,
time = NULL,
cens.code = 0,
cause = 1,
death.code = 2,
trans = NULL,
cens.formula = NULL,
augmentR = NULL,
augmentC = NULL,
type = NULL,
...
)
formula |
Event formula first covariate on rhs must be a factor giving the treatment |
data |
data frame |
time |
for estimation |
cens.code |
of censorings |
cause |
of events |
death.code |
of terminal events |
trans |
possible power for mean of events per time-unit |
cens.formula |
censoring model, default is to use strata(treatment) |
augmentR |
covariates for model of mean ratio |
augmentC |
covariates for censoring augmentation |
type |
augmentation for call of binreg, when augmentC is given default is "I" and otherwise "II" |
... |
arguments for binregATE |
Thomas Scheike
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.