Learn R Programming

emil (version 1.1-6)

index.fit: Convert a fold to row indexes of fittdng or test set

Description

Convert a fold to row indexes of fittdng or test set

Usage

index.fit(fold, allow.oversample = TRUE)

index.test(fold)

Arguments

fold
A fold of a resampling scheme.
allow.oversample
Whether or not to allow individual observation to exist in multiple copies in the training set. This is typically not the case, but can be used when a class is underrepresented in the data set.

Value

  • An integer vector of row indexes.

See Also

emil, resample