Plot an accuracy curve out of the outcome of accuracy()
.
# 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],
...
)
an accuracy()
object
graphical parameters, see graphics::plot.default()
graphical parameters, see graphics::plot.default()
graphical parameters, see graphics::plot.default()
graphical parameters, see graphics::plot.default()
graphical parameters, see graphics::plot.default()
graphical parameters, see graphics::plot.default()
graphical parameters, see graphics::plot.default()
graphical parameters, see graphics::plot.default()
graphical parameters, see graphics::plot.default()
graphical parameters, see graphics::plot.default()
graphical parameters, see graphics::plot.default()
color for the reference line 1:1
further graphical parameters to graphics::plot.default()
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\).
Other accuracy functions:
accuracy()
,
mean.accuracy()
,
precision()
,
validate()
,
xvErrorMeasures()