bootstrap {structToolbox} | R Documentation |
Applies bootstrapping to a model or model_seq(). Any output from the model can be 'collected' over all bootstrap repetitions for further analysis.
bootstrap(number_of_iterations = 100, collect, ...)
number_of_iterations |
The number of bootstrap iterations to run |
collect |
The name of model output to collect over all iterations |
... |
additional slots and values passed to struct_class |
A struct iterator object
D = iris_DatasetExperiment() I = bootstrap(number_of_iterations = 5, collect='vip') * (mean_centre() + PLSDA(factor_name = 'Species')) I = run(I,D,balanced_accuracy())