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

Dieter Menne dieter.menne at menne-biomed.de
Wed Jun 20 20:19:39 CEST 2007


Tirthadeep <sabya231 <at> gmail.com> writes:

> >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)


Use parameter add=TRUE in all but the first call

Dieter



More information about the R-help mailing list