direct_label {plotROC} | R Documentation |
Add direct labels to a ROC plot
Description
Add direct labels to a ROC plot
Usage
direct_label(
ggroc_p,
labels = NULL,
label.angle = 45,
nudge_x = 0,
nudge_y = 0,
size = 6,
...
)
Arguments
ggroc_p |
A ggplot object that contains a geom_roc layer |
labels |
vector of labels to add directly to the plot next to the curves. If multiple curves, must be in the same order as the grouping factor. If NULL, attempts to determine labels from the ggroc_p object |
label.angle |
angle of adjustment for the direct labels |
nudge_x , nudge_y |
Horizontal and vertical adjustment to nudge labels by. These can be scalars or vectors the same length as the number of labels |
size |
Size of labels |
... |
Other arguments passed to annotate |
[Package plotROC version 2.3.1 Index]