[R] How to draw several ROC curves on a common graph

From: Tirthadeep <sabya231_at_gmail.com>
Date: Wed, 20 Jun 2007 09:42:16 -0700 (PDT)

>library(ROCR)

>plot(roc1)
>plot(roc2)

gives two plots on two different graph. Now i want to merge on a single graph.

>plot(roc1)
>points(roc2)

   Error in as.vector(x, "double") : cannot coerce to vector

any solution?

-- 
View this message in context: http://www.nabble.com/How-to-draw-several-ROC-curves-on-a-common-graph-tf3953552.html#a11217382
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_stat.math.ethz.ch 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.
Received on Wed 20 Jun 2007 - 16:49:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 20 Jun 2007 - 20:33:54 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.