addGoodCalib: Visualizes a measure for good calibration on the RBP curve.

Description Usage Arguments Value

Description

The integral of the RBP curve is a measure for good calibration. If the sum of the two integrals (below and above the RBP curve) is close to 0, good calibration is satisfied and the prevalence is close to the average predicted probabilities.

Usage

1
2
addGoodCalib(obj, plot.values = TRUE, show.info = TRUE,
  col = grDevices::rgb(0, 0, 0, 0.25), border = NA, ...)

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.

col

[vector(1)]
Color for filling the polygon, as in polygon. Default is “grey”.

border

[vector(1)]
Color to draw the borders, as in polygon. Default is NA to omit borders.

...

[any]
Passed to polygon.

Value

[invisible(NULL)].


giuseppec/RBPcurve documentation built on May 17, 2019, 6:01 a.m.