A class for resampling methods such as cross-validation. not intended to be called directly.
resampler(...)
...
named slots and their values.
a resampler object
R = resampler()