Learn R Programming

baycn (version 1.0.0)

prerec: prerec

Description

Calculates the precision and recall of the inferred graph.

Usage

prerec(iMatrix, tMatrix)

Arguments

iMatrix

The undirected adjacency matrix of the inferred graph.

tMatrix

The undirected adjacency matrix of the true graph.

Value

A list. The first element is the precision and the second element is the recall of the inferred graph.