A subscheme is a resampling scheme that only includes observations in the
training set of a fold. This function
automatically fetches the type and parameters of the prototype fold and use
them to generate the subscheme.
Usage
subresample(fold, y)
Arguments
fold
A resampling scheme or fold to use to define the sub scheme(s).
y
The observations used to create the resampling scheme. See
resample for details.