riskCalibrationPlotSingleComplex | R Documentation |
Calibration plot
riskCalibrationPlotSingleComplex(risk, label, color = "#4682B4", bins = 10)
risk |
Should be risk probability |
bins |
Default 10 |
data("LIRI")
risk = LIRI$ANLN
risk = loonR::logit2prob(scale(risk))
label = LIRI$status
loonR::riskCalibrationPlotSingleComplex(risk, label)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.