as.roc: Prepare data for plotting in a ROC plot.

Description Usage Arguments Value See Also

View source: R/post.R

Description

Converts MCMC samples, edge probability matrices etc to a data frame ready for plotting as ROC curves.

Usage

1
  as.roc(x, ...)

Arguments

x

The object to be prepared for an ROC plot

...

Further arguments passed to method

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 actual graphs, see as.roc.parental and as.roc.parental.list. For edge probability matrices see as.roc.ep and as.roc.ep.list. For plotting rocplot. The methods defined are as.roc.parental, as.roc.parental.list, as.roc.ep, as.roc.ep.list


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