plotMultiROC: Multiple ROC plots in one and also faceted

Description Usage Arguments

Description

Plots multiple ROC or PR curves in one plot (i.e., different models), and faceted by another variable (i.e., different classification task)

Usage

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)

Arguments

fn

plot filename

rocsList

named list of ROCs, each containing dataframe with columns:

  • x false positive rate

  • y true positive rate

  • L1 names of different ROCs to differeniate x and y (important if there are multiple ROCs, i.e., training vs testing)

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 fn, the plot

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:

  • x recall

  • y precision

  • L1 names of different ROCs to differeniate x and y (important if there are multiple ROCs, i.e., training vs testing)


novasmedley/gbmSpm documentation built on May 17, 2019, 10:39 a.m.