strat.boot | R Documentation |
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,
verbosity = TRUE
)
x |
Input vector |
n.resamples |
Integer: Number of training/testing sets required |
train.p |
Float (0, 1): Fraction of cases to assign to traininig set for
|
stratify.var |
Numeric vector (optional): Variable used for stratification. |
strat.n.bins |
Integer: Number of groups to use for stratification for
|
target.length |
Integer: Number of cases for training set for
|
seed |
Integer: (Optional) Set seed for random number generator, in order to make
output reproducible. See |
verbosity |
Logical: If TRUE, print messages to console |
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.