Learn R Programming

PatientLevelPrediction (version 6.4.1)

modelBasedConcordance: Calculate the model-based concordance, which is a calculation of the expected discrimination performance of a model under the assumption the model predicts the "TRUE" outcome as detailed in van Klaveren et al. https://pubmed.ncbi.nlm.nih.gov/27251001/

Description

Calculate the model-based concordance, which is a calculation of the expected discrimination performance of a model under the assumption the model predicts the "TRUE" outcome as detailed in van Klaveren et al. https://pubmed.ncbi.nlm.nih.gov/27251001/

Usage

modelBasedConcordance(prediction)

Value

The model-based concordance value

Arguments

prediction

the prediction object found in the plpResult object

Details

Calculate the model-based concordance

Examples

Run this code
prediction <- data.frame(value = runif(100))
modelBasedConcordance(prediction)

Run the code above in your browser using DataLab