Special {pec} | R Documentation |
Drawing bootstrapped cross-validation curves and the .632 or .632plus error of models. The prediction error for an optional benchmark model can be added together with bootstrapped cross-validation error and apparent errors.
Description
This function is invoked and controlled by plot.pec
.
Usage
Special(
x,
y,
addprederr,
models,
bench,
benchcol,
times,
maxboot,
bootcol,
col,
lty,
lwd
)
Arguments
x |
an object of class 'pec' as returned by the |
y |
Prediction error values. |
addprederr |
Additional prediction errors. The options are bootstrap cross-validation errors or apparent errors. |
models |
One model also specified in |
bench |
A benchmark model (also specified in |
benchcol |
Color of the benchmark curve. |
times |
Time points at which the curves must be plotted. |
maxboot |
Maximum number of bootstrap curves to be added. Default is all. |
bootcol |
Color of the bootstrapped curves. Default is 'gray77'. |
col |
Color of the different error curves for |
lty |
Line type of the different error curves for |
lwd |
Line width of the different error curves for |
Details
This function should not be called directly. The arguments can be specified
as Special.arg
in the call to plot.pec
.
Value
Invisible object.