roc.plot: Plot ROC curve

Description Usage Arguments Value Author(s) References Examples

View source: R/ROC.R

Description

Plot ROC curve

Usage

1
roc.plot(ordered.results, true.positives, line = FALSE, title = "")

Arguments

ordered.results

Items ordered from best to worst according to the test score.

true.positives

known true positives

line

Draw 45 angle line

title

Title text

Value

Used for its side effects (plot)

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

References

See citation('microbiome')

Examples

1
2
3
data(peerj32)
  x <- unlist(peerj32$microbes[1,])
  res <- roc.plot(names(x), sample(names(x), 10))

microbiome/microbiomeold documentation built on May 22, 2019, 9:57 p.m.