Learn R Programming

DGM (version 1.7.4)

perf: Performance of estimates, such as sensitivity, specificity, and more.

Description

Performance of estimates, such as sensitivity, specificity, and more.

Usage

perf(x, true)

Arguments

x

estimated binary network matrix.

true,

true binary network matrix.

Value

p list with results.

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab