training {OmicsMarkeR} | R Documentation |
This fits each model with the defined parameters
training(data, method, tuneValue, obsLevels, theDots = NULL)
data |
Dataframe consisting of both numeric feature values and a single column named '.classes' to denoted group membership. |
method |
String dictating which model to fit |
tuneValue |
List of parameters to be applied to the specific model |
obsLevels |
Observed group levels |
theDots |
List of additional parameters to be applied to the specific model |
fit |
Fitted model with list with the following elements: |
xNames: Names of the features
tuneValue: Parameters applied to the fitted model
obsLevels: Observed levels of the groups
Charles Determan Jr