powered by
determine best Accuracy cuttoff
determineCut(cases, controls, plot = FALSE, scanstep = 0.01)
a factor of predicted classes
a factor of classes to be used as the true results
create plot of threasholds versus Accuracy
step size for threshold estimation
# NOT RUN { library(pROC) cases <- rnorm(100,-1,1.1) controls <- rnorm(500,1,1.1) cut <- determineCut(cases,controls) makeROCplot(cases,controls,abline=cut) # }
Run the code above in your browser using DataLab