predict.BuyseTTEM {BuyseTest} | R Documentation |
Prediction with Time to Event Model
Description
Evaluate the cumulative incidence function (cif) / survival in one of the treatment groups.
Usage
## S3 method for class 'BuyseTTEM'
predict(object, time, treatment, strata, cause = 1, iid = FALSE, ...)
Arguments
object |
time to event model. |
time |
[numeric vector] time at which to evaluate the cif/survival. |
treatment |
[character/integer] Treatment or index of the treatment group. |
strata |
[character/integer] Strata or index of the strata. |
cause |
[integer] The cause relative to which the cif will be evaluated. |
iid |
[logical] Should the influence function associated with the cif/survival be output? |
... |
not used, for compatibility with the generic method. |
Value
a list containing the survival (element survival
) or the cumulative incidence function (element cif
),
and possible standard errors (element .se
) and influence function (element .iid
).
[Package BuyseTest version 3.0.4 Index]