View source: R/scoringFunctions.R
Calculate concordance index (Harrell's C-statistic) for a set of predicted values. .
1 | c_statistic(gold, pred)
|
gold |
A numeric vector of gold standard values (e.g. output from survival::Surv). |
pred |
A numeric vector of prediction values (e.g. output from survival::Surv). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.