perf {DGM} | R Documentation |
Performance of estimates, such as sensitivity, specificity, and more.
perf(x, true)
x |
estimated binary network matrix. |
true |
true binary network matrix. |
p list with results.
trueNet=matrix(c(0,0,0,1,0,0,0,1,0),3,3)
am=matrix(c(0,0,0,1,0,1,0,1,0),3,3)
p=perf(am, trueNet)