Description Usage Arguments Examples
determine best Accuracy cuttoff
1 | determineCut(cases, controls, plot = FALSE, scanstep = 0.01)
|
cases |
a factor of predicted classes |
controls |
a factor of classes to be used as the true results |
plot |
create plot of threasholds versus Accuracy |
scanstep |
step size for threshold estimation |
1 2 3 4 5 | library(pROC)
cases <- rnorm(100,-1,1.1)
controls <- rnorm(500,1,1.1)
cut <- determineCut(cases,controls)
makeROCplot(cases,controls,abline=cut)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.