- pr
The predicted class for each observation.
- ac
The actual class for each observation.
- ri
The risk class for each observation.
- title
the main title to place at the top of the plot.
- title.size
font size for the main title.
- subtitle
subtitle under the main title.
- caption
caption for the bottom right of plot.
- show.legend
whether to display the legend in the plot.
- optimal
a caseload (percentage or fraction) that represents an
optimal performance point which is also plotted. If instead the value
is TRUE then the optimal point is identified internally
(maximum valud for (recall-casload)+(risk-caseload)) and
plotted.
- optimal.label
a string which is added to label the line drawn
as the optimal point.
- chosen
a caseload (percentage or fraction) that represents a
user chosen optimal performance point which is also plotted.
- chosen.label
a string which is added to label the line drawn as
the chosen point.
- include.baseline
if TRUE (the default) then display the
diagonal baseline.
- dev
a string which, if supplied, identifies a device type as
the target for the plot. This might be one of wmf (for
generating a Windows Metafile, but only available on MS/Windows),
pdf, or png.
- filename
a string naming a file. If dev is not given
then the filename extension is used to identify the image format as
one of those recognised by the dev argument.
- show.knots
a vector of caseload values at which a vertical line
should be drawn. These might correspond, for example, to individual
paths through a decision tree, illustrating the impact of each path on
the caseload and performance.
- show.lift
whether to label the right axis with lift.
- show.precision
whether to show the precision plot.
- show.maximal
whether to show the maximal performance line.
- risk.name
a string used within the plot's legend that gives a
name to the risk. Often the risk is a dollar amount at risk from a
fraud or from a bank loan point of view, so the default is
Revenue.
- recall.name
a string used within the plot's legend that gives a
name to the recall. The recall is often the percentage of cases that
are positive hits, and in practise these might correspond to known
cases of fraud or reviews where some adjustment to perhaps a incom tax
return or application for credit had to be made on reviewing the case,
and so the default is Adjustments.
- precision.name
a string used within the plot's legend that gives
a name to the precision. A common name for precision is Strike
Rate, which is the default here.
- thresholds
whether to display scores along the top axis.
- legend.horiz
whether to display a horizontal legend.