@@ -253,6 +253,9 @@ simple.plotROCgg<-function(df,vars,cols,x=0.7,y=0.3,units=c(),precise="FALSE",ta
print('ggplot2 not available. Use simple.plotROC function')
return(NULL)
}
+ if (length(vars)==0){
+ return(NULL)
+ }
#ggplot alternative
cvalues<-base::c()