The functions cv
returns an object of the type
cross_validated
.
An object of class 'cross_validated
' is a list with at least the
following components:
An array with the model score(s) evaluated for each fold,
repetition, and model estimates
(see estimate.default
)
Names (character vector) of the models
number of repetitions of the CV
Number of folds of the CV
objects of the S3 class 'cross_validated
'
The following S3 generic functions are available for an object of
class cross_validated
:
coef
Extract average model scores from the cross-validation procedure.
print
Basic print method.
summary
Summary of the cross-validation procedure.
## See example(cv) for examples