Learn R Programming

epade (version 0.2.2)

performance.plot.ade: Performance Plot

Description

Draw for all posible cutoffs, TP, FP, TN, FN, sensitivity, specificity and more.

Usage

performance.plot.ade(pred, event, data=NULL, vnames=NULL, cutoffs=NULL,
                     cutnames=NULL, main=NULL, xlab="cutoff", ylab="%",
                     xlim=NULL, xticks=12,
                     col=NULL, tcol=NULL, bgcol=NULL, lcol=NULL, alpha=NULL,
                     nints=100, lty=NULL, lwd=2, stats=c(1, 2),
                     youden=TRUE, wall=0)

Arguments

pred
  • a numeric predictor vector
a string with the name of the variable in the data.frame a formula yevent~pred

item

  • event
  • a string with the name of the variable in the data.frame
  • data
  • vnames
  • cutoffs
  • cutnames
  • main
  • xlab
  • ylab
  • xlim
  • xticks
  • col
  • tcol
  • bgcol
  • lcol
  • alpha
  • nints
  • lty
  • lwd
  • stats
  • 2. Specificity
  • 3. PPV
  • 4. NPV
  • youden
  • wall

itemize

  • 1. Sensitivity

Examples

Run this code
performance.plot.ade(rnorm(100), round(runif(100)))

Run the code above in your browser using DataLab