Learn R Programming

PatientLevelPrediction (version 6.4.0)

ici: Calculate the Integrated Calibration Index from Austin and Steyerberg https://onlinelibrary.wiley.com/doi/full/10.1002/sim.8281

Description

Calculate the Integrated Calibration Index from Austin and Steyerberg https://onlinelibrary.wiley.com/doi/full/10.1002/sim.8281

Usage

ici(prediction)

Value

Integrated Calibration Index value or NULL if the calculation fails

Arguments

prediction

the prediction object found in the plpResult object

Details

Calculate the Integrated Calibration Index

Examples

Run this code
prediction <- data.frame(rowId = 1:100, 
                        outcomeCount = stats::rbinom(1:100, 1, prob=0.5),
                        value = runif(100), 
                        evaluation = rep("Train", 100))
ici(prediction)

Run the code above in your browser using DataLab