R/Plotting.R
plotPrecisionRecall.Rd
Plot the precision-recall curve using the sparse thresholdSummary data frame
plotPrecisionRecall(
plpResult,
typeColumn = "evaluation",
saveLocation = NULL,
fileName = "roc.png"
)
A plp result object as generated using the runPlp
function.
The name of the column specifying the evaluation type
Directory to save plot (if NULL plot is not saved)
Name of the file to save to plot, for example
'plot.png'. See the function ggsave
in the ggplot2 package for
supported file formats.
A ggplot object. Use the ggsave
function to save to file in a different
format.
Create a plot showing the precision-recall curve using the sparse thresholdSummary data frame