bootSamples(n, R = 1, type = c("0.632", "out-of-bag"),
grouping = NULL)grouping is supplied in order to respect the group
structure of the data in the bootstrap samples."0.632" (the
default), or "out-of-bag"."bootSamples" with the
following components:perrySplits, bootControl,
cvFolds, randomSplitsset.seed(1234) # set seed for reproducibility
bootSamples(20)
bootSamples(20, R = 10)Run the code above in your browser using DataLab