Description Usage Arguments Details Value Examples
Run simulation
1 2 3 |
data |
(data frame) one factor columns for class labels, other columns numeric, no missing values |
param |
(preprosimparameter object) simulation parameters, defaults to parameters set automatically for data. |
seed |
(integer) seed to be used for reproducible results, defaults to 1 |
caretmodel |
(character) a model from package Caret, defaults to gbm (gbm must be installed before preprosimrun) |
holdoutrounds |
(integer) number of holdout rounds, defaults to 10 |
cores |
(integer) number of cores used in parallel processing, defaults to 1 |
verbose |
(boolean) progress information outputted, defaults to TRUE |
fitmodels |
(boolean) whether classification models are fitted, defaults to TRUE (FALSE: get only the contaminated datasets) |
caretmodel must be able to deal with missing values and have in-build variable importance such as rpart and gbm. Note: caret message will be outputted regardless of verbose.
preprosimanalysis class object
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.