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
Publié le jeudi 6 mai 2010 à 08:23 CEST
Lien permanent : /blog/2010/05/06/proc-1.1-released
Tags : pROC
Commentaires : 0

Commentaires

Aucun commentaire

Nouveau commentaire

* L'astérisque dénote un champ obligatoire.

En soumettant votre message, vous acceptez qu' il soit publié sous licence CC BY-SA 3.0.

Quelques balises HTML sont autorisées : a[href, hreflang, title], br, em, i, strong, b, tt, samp, kbd, var, abbr[title], acronym[title], code, q[cite], sub, sup.

Switch to English

Chercher

Tags

Bruit de fond Hobbys Humour Informatique Internet Livres Logiciels Moi Mon site web Mozilla Photo Politique Programmation Scolaire Ubuntu pROC

Billets récents

Calendrier

lun.mar.mer.jeu.ven.sam.dim.
12
3456789
10111213141516
17181920212223
24252627282930
31

Syndication

Recommender