pROC 1.1 released

I am releasing the version 1.1 of pROC.

The lines.roc family of functions allows to add a ROC curve to an existing plot with lines. Until now you had to use plot with add = TRUE. More informations with ?lines.roc. For instance:

library(pROC)
data(aSAH)
rocs100 <- roc(aSAH$outcome, aSAH$s100)
rocwfns <- roc(aSAH$outcome, aSAH$wfns)

plot(rocs100)
lines(rocwfns)

Two additions were made to the plot.roc function. First the type argument, which is directly forwarded to par, allows to change the line type. print.auc.col allows to change the color of the printed AUC independently from the ROC curve. Here is an example of what you can do now:

plot(rocs100, print.auc=TRUE, print.auc.col="blue", type="o")

Here is the full change log:

You can find the new version on ExPASy and on the CRAN. To update, type update.packages() or install.packages("pROC") if you want to update pROC only.

Xavier Robin
Published Thursday, May 6, 2010 08:23 CEST
Permalink: /blog/2010/05/06/proc-1.1-released
Tags: pROC
Comments: 0

Comments

No comment

New comment

* denotes a mandatory field.

By submitting your message, you accept to publish it under a CC BY-SA 3.0 license.

Some HTML tags are allowed: a[href, hreflang, title], br, em, i, strong, b, tt, samp, kbd, var, abbr[title], acronym[title], code, q[cite], sub, sup.

Passer en français

Search

Tags

Background noise Books Computers Fun Hobbies Internet Me Mozilla My website Photo Politics Programming School Software Ubuntu pROC

Recent posts

Calendar

MonTueWedThuFriSatSun
12
3456789
10111213141516
17181920212223
24252627282930
31

Syndication

Recommend