predict.BuyseTTEM | R Documentation |
Evaluate the cumulative incidence function (cif) / survival in one of the treatment groups.
## S3 method for class 'BuyseTTEM'
predict(object, time, treatment, strata, cause = 1, iid = FALSE, ...)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.