plotCalibration: Plot calibration curve

View source: R/plotCalCurve.R

plotCalibrationR Documentation

Plot calibration curve

Description

Plot calibration curve

Usage

plotCalibration(
  E,
  uE,
  prob = seq(0.005, 0.995, by = 0.005),
  dist = c("Normal", "Student", "Uniform", "Laplace", "Normp", "T4", "Normp4"),
  shape = 4,
  score = TRUE,
  plot = TRUE,
  title = "",
  label = 0,
  gPars = ErrViewLib::setgPars()
)

Arguments

E

(vector) a vector of errors

uE

(vector) a vector of uncertainties

dist

(string) a distribution (default: 'Normal')

shape

(numeric) shape parameter for the T and Normp distributions

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.