ROCPlot | R Documentation |
Plot ROCs using ggplot
ROCPlot(R, lambda = 1)
R |
|
lambda |
|
uses the output of ROC
MIMOSA2
s = simulate_MIMOSA2()
R = MIMOSA2(Ntot=s$Ntot, ns1 = s$ns1, nu1 = s$nu1, nu0 = s$nu0, ns0 = s$ns0,maxit=10)
or_result = ORTest(Ntot = s$Ntot, ns1 = s$ns1, nu1 = s$nu1, nu0 = s$nu0, ns0 = s$ns0)
roc = ROC(or_test = or_result, fit=R, truth = s$truth%in%c("R1","R2","R3","R4"))
ROCPlot(roc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.