cross_validated-class: cross_validated class object

cross_validated-classR Documentation

cross_validated class object

Description

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:

cv

An array with the model score(s) evaluated for each fold, repetition, and model. estimates (see estimate.default)

names

Names (character vector) of the models

rep

number of repetitions of the CV

folds

Number of folds of the CV

Value

objects of the S3 class 'cross_validated'

S3 generics

The following S3 generic functions are available for an object of class cross_validated:

  • coefExtract average model scores from the cross-validation procedure.

  • printBasic print method.

  • summarySummary of the cross-validation procedure.'

See Also

cv

Examples

## See example(cv) for examples

targeted documentation built on Oct. 26, 2022, 1:09 a.m.