as.roc.ep.list: Prepare an list of edge probability matrix for a ROC plot.

Description Usage Arguments Value See Also

View source: R/post.R

Description

Compares a list of edge probability matrices x to a true graph true, and returns the number of true and false positives.

Usage

1
2
3
  ## S3 method for class 'ep.list'
 as.roc(x, true, thresholds, labels,
    verbose, ...)

Arguments

x

A list of matrices of class ep of edge probabilities

true

A bn. The true graph.

thresholds

A numeric vector of thresholds.

labels

A vector of labels

verbose

A logical. Should progress should be displayed?

...

Further arguments (unused)

Value

A data frame, with columns estimate, tp, and fp. The first contains the supplied label; the latter two contain the number of true and false positives respectively. Rows correspond to the supplied thresholds, for each element of the supplied ep.list.

See Also

For individual edge probability matrices see as.roc.ep. For graphs, as.roc.parental and as.roc.parental.list. as.roc.ep


rjbgoudie/structmcmc documentation built on Nov. 3, 2020, 3:41 a.m.