simple.roc.Rd 610 B

123456789101112131415161718192021222324
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/roc.R
  3. \name{simple.roc}
  4. \alias{simple.roc}
  5. \title{Create a ROC curve}
  6. \usage{
  7. simple.roc(labels, scores, decreasing = TRUE)
  8. }
  9. \arguments{
  10. \item{labels}{vector of outcomes}
  11. \item{scores}{vector of variable values}
  12. \item{decreasing}{ordering of scores}
  13. }
  14. \value{
  15. data frame with columns TPR, FPR, labels, scores, V
  16. V is combination of V0 (negative cases) and V1 (positive cases)
  17. V0 is portion of positive cases with value larger than score
  18. V1 is portion of negative cases with value below score
  19. }
  20. \description{
  21. Create a ROC curve
  22. }