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

Description Usage Arguments Value See Also

View source: R/post.R

Description

Compares two graphs, one of which is the true graph, and computes the number of true and false positives.

Usage

1
2
  ## S3 method for class 'parental'
 as.roc(x, true, label, ...)

Arguments

x

A parental graph to compare to true

true

A bn. The true graph.

label

A label

...

Further arguments (unused)

Value

A 1-row 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 lists of graphs, see as.roc.parental.list. For edge probability matrices see as.roc.ep and as.roc.ep.list. as.roc.parental.list


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