R functions for net reclassification metrics and risk assessment plots