K-fold Resampling
kfold(x, k = 10, stratify.var = NULL, strat.n.bins = 4,
seed = NULL, verbose = TRUE)
Numeric vector (optional): Variable used for stratification. Defaults to y
Integer: Number of groups to use for stratification for
resampler = "strat.sub" / "strat.boot"
Integer: (Optional) Set seed for random number generator, in order to make output reproducible.
See ?base::set.seed
Logical: If TRUE, print messages to screen