as.roc.parental.list: Prepare a parental list for a ROC plot.

Description Usage Arguments Value See Also

View source: R/post.R

Description

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

Usage

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

Arguments

x

The object to be prepared for an ROC plot

true

A bn. The true graph.

labels

A vector of labels

verbose

A logical. Should progress 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

See Also

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


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