[R] Re : ROC Analysis

Pascal Oettli kridox at ymail.com
Thu Mar 22 10:49:36 CET 2012


Hi Camille,

Does following work?

ll <- length(x)
(TPR[1:(ll-1)]-TPR[2:ll])/(FPR[1:(ll-1)]-FPR[2:ll])


Regards,
Pascal

--
View this message in context: http://r.789695.n4.nabble.com/ROC-Analysis-tp4469203p4478233.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list