code: public static String rocChartToHtml(ROC roc) {
          RocCurve rocCurve = roc.getRocCurve();
  
          Component c = getRocFromPoints(ROC_TITLE, rocCurve, roc.getCountActualPositive(), roc.getCountActualNegative(),
                          roc.calculateAUC(), roc.calculateAUCPR());
          Component c2 = getPRCharts(PR_TITLE, PR_THRESHOLD_TITLE, roc.getPrecisionRecallCurve());
  
          return StaticPageUtil.renderHTML(c, c2);
      }
docs: Given a {@link ROC} instance, render the ROC chart and precision vs. recall charts to a stand-alone HTML file (returned as a String)
  @param roc  ROC to render