powered by
This function re-generates an rset object, using the same arguments used to generate the original.
reshuffle_rset(rset)
An rset of the same class as rset.
rset
The rset object to be reshuffled
set.seed(123) (starting_splits <- group_vfold_cv(mtcars, cyl, v = 3)) reshuffle_rset(starting_splits)
Run the code above in your browser using DataLab