Learn R Programming

RBPcurve (version 1.2)

addPEV: Visualize the PEV on the RBP curve.

Description

The PEV measure is the difference between the conditional expectation of the predicted probabilities (conditional on the two groups that are determined by the target variable). The PEV measure can be visually obtained by the RBP curve, namely by the difference of the two areas that are Highlighted with addPEV.

Usage

addPEV(obj, plot.values = TRUE, show.info = TRUE, text.col = "black",
  col = rgb(0, 0, 0, 0.25))

Arguments

obj
[RBPObj] Data container for RBP curve.
plot.values
[logical(1)] Whether the values of the corresponding measure should be added to the plot? Default is FALSE.
show.info
[logical(1)] Print more information for the respective measure on console? Default is TRUE.
text.col
[character(1) | numeric(1)] Text color, used when plot.values = TRUE, otherwise ignored. Default is “black”.
col
[character(1) | numeric(1)] A specification for the plotting color.

Value

[invisible(NULL)].