Andrej 1 week ago
parent
commit
2ca6facfed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      R/roc.R

+ 1 - 1
R/roc.R

@@ -278,11 +278,11 @@ simple.plotROCgg<-function(df,vars,cols,x=0.7,y=0.3,unit="ml",precise="FALSE",ta
          g<-g+ggplot2::geom_point(aes_p,size=4,shape=1,show.legend=FALSE)
          colors_used<-base::c(colors_used,col)
          cvalues<-base::c(cvalues,lab) 
+         base::print(sprintf('%d/%d',base::length(colors_used),base::length(cvalues)))
          i=i+1
       }
 
    }
-   base::print(sprintf('%d/%d',base::length(colors_used),base::length(cvalues)))
    base::names(colors_used)<-cvalues
    g+ggplot2::xlab('1-specificity')+
       ggplot2::ylab('sensitivity')+