Description Usage Arguments Value Author(s) References See Also Examples
The efficacy of the survival model can be measured by the concordance statistic
1 2 3 4 5 | get_cindex(holdout, fit, time = "time", status = "status", ncores = 1L,
method = NULL)
get_cindex(holdout, fit, time = "time", status = "status", ncores = 1L,
method = NULL)
|
data |
For the default functions, a datframe containing survival (time), and status (0:censored/1:event), and the explanatory variables. |
mod |
Coxph model object fitted with coxph (survival). |
A cindex object
Carlos S Traynor
Terry M. Therneau and Patricia M. Grambsch (2000). _Modeling Survival Data: Extending the Cox Model_. Springer, New York. ISBN 0-387-98784-3. @export get_cindex
[coxph]
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.