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
Post a Comment