Plots multiple ROC or PR curves in one plot (i.e., different models), and faceted by another variable (i.e., different classification task)
1 2 3 4 5 | plotMultiROC(fn, rocsList, aucsList, listOrder, legendTitle, printIt, outDir,
perfTheme, scaleX, scaleY, perfGuide)
plotMultiPR(fn, prsList, aucsList, listOrder, legendTitle, printIt, outDir,
perfTheme, scaleX, scaleY, perfGuide)
|
fn |
plot filename |
rocsList |
named list of ROCs, each containing dataframe with columns:
|
aucsList |
named list of area under the ROC values |
listOrder |
order of plotting for legend labeling of multipe ROC or PR curves |
outDir |
directory to put |
perfTheme |
ggplot2 theme() object to include plot formats |
scaleX |
scale_x_continuous, format of x scale |
scaleY |
scale_y_continuous, format of y scale |
prsList |
named list of precision-recall curves, each containing dataframe with columns:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.