Description Usage Value Examples
This function plots ROC curve for survival analysis.
1 2 3
plot_ROC(scores, labels, force05 = F, palette = "jama", legend.pos = c(0.2, 0.15), title = NULL, font = "Arial", percent.style = F)
a ggplot2 object of the plot
1 2 3 4 5 6
library(gfplot) library(survminer) data(myeloma) extrafont::loadfonts() plot_ROC(myeloma$CCND1, myeloma$event) plot_ROC(myeloma[, 7:10], myeloma$event)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.