phecap_plot_roc_curves {PheCAP} | R Documentation |
Plot ROC and Related Curves for Phenotyping Models
Description
Plot ROC-like curves to illustrate phenotyping accuracy.
Usage
phecap_plot_roc_curves(
x, axis_x = "1 - spec", axis_y = "sen",
what = c("training", "random-splits", "validation"),
ggplot = TRUE, ...)
Arguments
x |
either a single object of class PhecapModel or PhecapValidation
(returned from |
axis_x |
an expression that leads to the |
axis_y |
an expression that leads to the |
what |
The curves to be included in the figure. |
ggplot |
if TRUE and ggplot2 is installed, ggplot will be used for the figure. Otherwise, the base R graphics functions will be used. |
... |
arguments to be ignored. |
See Also
See PheCAP-package
for code examples.