gmGeostats (version 0.10-6)

plot.accuracy: Plot method for accuracy curves

Description

Plot an accuracy curve out of the outcome of accuracy().

Usage

# S3 method for accuracy
plot(
  x,
  xlim = c(0, 1),
  ylim = c(0, 1),
  xaxs = "i",
  yaxs = "i",
  type = "o",
  col = "red",
  asp = 1,
  xlab = "confidence",
  ylab = "coverage",
  pty = "s",
  main = "accuracy plot",
  colref = col[1],
  ...
)

Arguments

x

an accuracy() object

xlim

graphical parameters, see graphics::plot.default()

ylim

graphical parameters, see graphics::plot.default()

xaxs

graphical parameters, see graphics::plot.default()

yaxs

graphical parameters, see graphics::plot.default()

type

graphical parameters, see graphics::plot.default()

col

graphical parameters, see graphics::plot.default()

asp

graphical parameters, see graphics::plot.default()

xlab

graphical parameters, see graphics::plot.default()

ylab

graphical parameters, see graphics::plot.default()

pty

graphical parameters, see graphics::plot.default()

main

graphical parameters, see graphics::plot.default()

colref

color for the reference line 1:1

...

further graphical parameters to graphics::plot.default()

Value

Nothing, called to plot the accuracy curve \(\{(p_i, \pi_i), i=1,2, \ldots, I\}\), where \(\{p_i\}\) are a sequence of nominal confidence of prediction intervals and each \(\pi_i\) is the actual coverage of an interval with nominal confidence \(p_i\).

See Also

Other accuracy functions: accuracy(), mean.accuracy(), precision(), validate(), xvErrorMeasures()