Skip to contents

Main Functions

Primary functions for risk assessment and reclassification

ggrap()
The Risk Assessment Plot
ggdecision()
The Decision curve
ggcalibrate()
The Calibration plot
ggroc()
The ROC plot
ggprerec()
The Precision-Recall plot
ggcontribute()
The Contribution plot
meta.rap()
List meta data
summary(<rap>)
List risk assessment metrics

Classification Metrics

Functions for calculating reclassification metrics

CI.classNRI()
Statistical metrics and confidence intervals for classes
CI.raplot()
Statistical metrics with confidence intervals
statistics.classNRI()
Reclassification metrics with classes (ordinals) as inputs
statistics.raplot()
Statistical metrics
extractCI()
Extract confidence interval
extract_NRI_CI()
Extract NRI confidence intervals

Data and Utilities

Example datasets and utility functions

data_class
Simple data set with classifications
data_risk
Simple data set with risk predictions
anova_glm()
The function anova_glm() returns the Chi^2 and degrees of freedom for each variable & the same was anova.rms() does from lrm() in the rms package.
ggcalibrate_original()
The Original Calibration plot