plotCalibrationQ: Plot calibration curve from quantiles table

View source: R/plotCalCurve.R

plotCalibrationQR Documentation

Plot calibration curve from quantiles table

Description

Plot calibration curve from quantiles table

Usage

plotCalibrationQ(
  E,
  Q,
  cond = NULL,
  nBin = NULL,
  intrv = NULL,
  equiPop = TRUE,
  popMin = 30,
  logBin = TRUE,
  score = TRUE,
  plot = TRUE,
  title = "",
  label = 0,
  gPars = ErrViewLib::setgPars()
)

Arguments

E

(vector) a vector of errors

cond

(vector) a vector of values on which conditional calibration curves are designed

nBin

(integer) number of intervals for local coverage stats

intrv

(object) intervals generated by 'genIntervals' (default: 'NULL')

equiPop

(logical) generate intervals with equal bin counts (default: 'equiPop = TRUE')

popMin

(integer) minimal bin count in an interval

logBin

(logical) if 'equiPop = FALSE', one can choose between equal range intervals, or equal log-range intervals (default 'logBin = TRUE')

score

(logical) evaluate the calibration scores (default: 'TRUE')

plot

(logical) plot the results (default: 'TRUE')

title

(string) a title to display above the plot

label

(integer) index of letter for subplot tag

gPars

(list) graphical parameters

Value

Invisibly returns a list of calibration statistics. Mainly used for its plotting side effect.


ppernot/ErrViewLib documentation built on June 1, 2024, 4:33 a.m.