Stratified Bootstrap Resampling
strat.boot(x, n.resamples = 10, train.p = 0.75, stratify.var = NULL,
strat.n.bins = 4, target.length = NULL, seed = NULL,
verbose = TRUE)
Integer: Number of training/testing sets required
Float (0, 1): Fraction of cases to assign to traininig set for resampler = "strat.sub"
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: Number of cases for training set for resampler = "strat.boot"
.
Default = length(y)
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