cv | R Documentation |
Cross-validation for a model object
cv(object, folds = 10, ...)
## S3 method for class 'cv'
print(x, ...)
## S3 method for class 'cv'
summary(object, ...)
## S3 method for class 'cv'
plot(x, y, ...)
## S3 method for class 'cv'
ggplot(data, mapping = NULL, ..., environment = parent.frame())
object |
A model object. |
folds |
The number of cross-validation folds to use. Defaults to
|
... |
Other arguments to be passed through to methods. |
x , y |
Arguments to plot method. |
data , mapping , environment |
Arguments ggplot method. |
The function is generic. At present, only objects of class 'evmOpt',
as returned by texmex::evm
can be used.
cv.evmOpt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.