How do I add a tag to my ROC plot

Trying to add labels A) and B) to each panel for my two ROC plots.

par(mfrow=c(1,2), xpd=F)

erf.k <- evaluate(testpres_fairy, testbackg_fairy, rf.k)
plot(erf.k@TPR~erf.k@FPR, type="b",col="red", main=paste0("RF, AUC = ",round(erf.k@auc,2)), xlab="False Positive Rate", ylab = "True Positive Rate", tag = "A")

eglm.k <- evaluate(testpres_fairy, testbackg_fairy, m17,
plot(eglm.k@TPR~eglm.k@FPR, type="b",col="red", main= paste0("GLMM, AUC = ",round(eglm.k@auc,2)), xlab="False Positive Rate", ylab = "True Positive Rate")

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.