An example of ROC curves plotting with ROCR

September 3, 2011

(This article was first published on Farmacokratia, and kindly contributed to R-bloggers)

Decided to start githib with ROC curve plotting example. There is not a one ROC curve but several – according to the number of comparisons (classifications), also legend with maximal and minimal ROC AUC are added to the plot. ROC curves and ROC AUC were calculated with ROCR package.

What else should be added to the plot for ease of understanding?

To leave a comment for the author, please follow the link and comment on his blog: Farmacokratia. offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.