Manually generate ROCs from an xpdb object.
xplot_rocplot(
xpdb,
mapping = NULL,
type = "c",
guide = TRUE,
xscale = "continuous",
yscale = "continuous",
group = NULL,
title = NULL,
subtitle = NULL,
caption = NULL,
tag = NULL,
plot_name = "xplot_rocplot",
gg_theme,
xp_theme,
opt,
quiet,
thres_fixed = 0.5,
like_col = NULL,
obs_col = NULL,
obs_target = NULL,
auc_sprintf = "AUC: %.3f",
...
)The desired plot
<xp_xtras> or <xpose_data> object
ggplot2 style mapping
See Details.
Should the guide (e.g. unity line) be displayed.
Defaults to continuous.
Defaults to continuous.
Grouping for curves or points
Plot title
Plot subtitle
Plot caption
Plot tag
Metadata name of plot
As in xpose
As in xpose
Processing options for fetched data
Silence extra debugging output
Fixed threshold value for space
Column for likelihood/probability value
Column for observed value
Target observed value for likelihood
Format to apply to AUC label
Any additional aesthetics.
For type-based customization of plots:
c ROC curve (using geom_path)
k Key points on ROC curve (where on curve the
threshold is thres_fixed) (using geom_point)
p ROC space points (using geom_point)
t ROC space text (using geom_text)
a AUC in bottom right (using geom_label)