Cross-validation for a model object
cv(object, folds = 10, ...)# S3 method for cv
print(x, ...)
# S3 method for cv
summary(object, ...)
# S3 method for cv
plot(x, y, ...)
# S3 method for cv
ggplot(data, mapping = NULL, ..., environment = parent.frame())
A model object.
The number of cross-validation folds to use. Defaults to
folds = 10
.
Other arguments to be passed through to methods.
Arguments to plot method.
Arguments ggplot method.
The function is generic. At present, only objects of class 'evmOpt',
as returned by texmex::evm
can be used.
cv.evmOpt