c_statistic: Calculate concordance index (Harrell's C-statistic) for a set...

Description Usage Arguments

View source: R/scoringFunctions.R

Description

Calculate concordance index (Harrell's C-statistic) for a set of predicted values. .

Usage

1
c_statistic(gold, pred)

Arguments

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).


Sage-Bionetworks/challengescoring documentation built on Sept. 28, 2020, 8:27 a.m.