Description Usage Arguments See Also
Plot ROC-like curves to illustrate phenotyping accuracy.
1 2 3 4 | phecap_plot_roc_curves(
x, axis_x = "1 - spec", axis_y = "sen",
what = c("training", "random-splits", "validation"),
ggplot = TRUE, ...)
|
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 PheCAP-package
for code examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.