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

Description Usage Arguments Value Examples

View source: R/dgm.R

Description

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

Usage

1
perf(x, true)

Arguments

x

estimated binary network matrix.

true,

true binary network matrix.

Value

p list with results.

Examples

1
2
3
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)

schw4b/multdyn documentation built on Dec. 14, 2021, 7:39 a.m.