The number of intervals to group the samples' scores into. By default, there are as
many bins as there were predictions made, for each result object.
lineColourVariable
The slot name that different levels of are plotted as
different line colours.
lineColours
A vector of colours for different levels of the line colouring parameter. If NULL,
a default palette is used.
lineWidth
A single number controlling the thickness of lines drawn.
fontSizes
A vector of length 5. The first number is the size of the title.
The second number is the size of the axes titles and AUC text, if it
is not part of the legend. The third number is the size of the axes values. The
fourth number is the size of the legends' titles. The fifth number is
the font size of the legend labels.
labelPositions
Locations where to put labels on the x and y axes.
plotTitle
An overall title for the plot.
legendTitle
A default name is used if the value is NULL. Otherwise a character name can
be provided.
xLabel
Label to be used for the x-axis of false positive rate.
yLabel
Label to be used for the y-axis of true positive rate.
plot
Logical. If TRUE, a plot is produced on the current graphics device.
showAUC
Logical. If TRUE, the AUC value of each result is added to its legend text.
Details
Possible values for slot names are "datasetName", "classificationName", and
"validation". If "None", then any lines drawn will be black.
The scores stored in the results should be higher if the sample is more likely to be from the second class,
based on the levels of the actual classes. The scores must be in a column named "score".
For cross-validated classification, all predictions from all iterations are considered simultaneously,
to calculate one curve per classification.
The number of bins determines how many pairs of TPR and FPR points will be used to draw the plot.
A higher number will result in a smoother ROC curve.
The AUC is calculated using the trapezoidal rule.
Value
An object of class ggplot and a plot on the current graphics device, if plot is TRUE.