simple.plotROCgg.Rd 731 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/roc.R
  3. \name{simple.plotROCgg}
  4. \alias{simple.plotROCgg}
  5. \title{Plot an assembly of ROCs}
  6. \usage{
  7. simple.plotROCgg(
  8. df,
  9. vars,
  10. cols,
  11. x = 0.7,
  12. y = 0.3,
  13. unit = "ml",
  14. precise = "FALSE",
  15. target = "alive"
  16. )
  17. }
  18. \arguments{
  19. \item{df}{data frame}
  20. \item{vars}{vector of variables}
  21. \item{cols}{vector of color names}
  22. \item{x}{coordinate for legend}
  23. \item{y}{coordinate for legend}
  24. \item{unit}{unit for threshold in labels}
  25. \item{precise}{number of decimal places to use when reporting opt threshold, TRUE:2, FALSE:0}
  26. \item{target}{column that holds binary outcomes}
  27. }
  28. \value{
  29. ggplot2 graphical object
  30. }
  31. \description{
  32. Plot an assembly of ROCs
  33. }