ROC | R Documentation |
Generate matrix for ROC plot.
ROC(or_test, fit, truth)
or_test |
output of |
fit |
output of MIMOSA2 |
truth |
|
matrix
with columns "FPR" "TPR" and "Method"
MIMOSA2
s = simulate_MIMOSA2()
R = MIMOSA2(Ntot=s$Ntot, ns1 = s$ns1, nu1 = s$nu1, nu0 = s$nu0, ns0 = s$ns0)
or_result = ORTest(Ntot = s$Ntot, ns1 = s$ns1, nu1 = s$nu1, nu0 = s$nu0, ns0 = s$ns0)
ROC(or_test = or_result, fit=R, truth = s$truth%in%c("R1","R2","R3","R4"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.