setphase: constructor function for defining a preprocessing phase.
Description
Preprocessing phases consist of preprocessing techniques defined with setpreprocessor().
Phases can be defined with setphase() and combined to a grid of combinations with setgrid().
Usage
setphase(phasename, preprocessor, preimpute)
Arguments
phasename
(character) name of the phase
preprocessor
(character) vector of preprocessors (see ?setpreprocessor) belonging to the phase
preimpute
(logical) whether phase is missing value imputation
Value
a PhaseClass object
Details
All elements of argument 'preprocessor' must point to PreprocessorClass objects constructed with function 'setpreprocessor()'.
If dataset contains missing values, missing value imputation must be the first phase.