These functions can convert resampling objects between rsample and caret.
rsample2caret(object, data = c("analysis", "assessment")) caret2rsample(ctrl, data = NULL)
The data that was originally used to produce the
An object produced by
rsample2caret returns a list that mimics the
indexOut elements of a
caret2rsample returns an
rset object of the appropriate class.