Evaluate the cumulative incidence function (cif) / survival in one of the treatment groups.
# S3 method for BuyseTTEM
predict(object, time, treatment, strata, cause = 1, iid = FALSE, ...)
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
).
time to event model.
[numeric vector] time at which to evaluate the cif/survival.
[character/integer] Treatment or index of the treatment group.
[character/integer] Strata or index of the strata.
[integer] The cause relative to which the cif will be evaluated.
[logical] Should the influence function associated with the cif/survival be output?
not used, for compatibility with the generic method.