r - Unable to produce ROC curve in RCommander -


i have written following code plot roc curve:

pred1 <- prediction(predict(modelid), ls_01rr$payment_ind) perf1 <- performance(pred1,"tpr","fpr") plot(perf1)  plot(perf1,main="hivpr - roc curves",col="blue") abline(0,1,col="grey") 

but doesn't plot. wrong here?

check roc object called ('perf1'). did not create object correctly.


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -