predicting {OmicsMarkeR} | R Documentation |
This function evaluates a single fitted model and returns the predicted group memberships.
predicting(method, modelFit, orig.data, indicies, newdata, param = NULL)
method |
String of the model to be evaluated |
modelFit |
The fitted model being evaluated |
orig.data |
The orginal data before subsetting training sets. Required to have the 'observed' group membership |
indicies |
The indicies for the training subsets |
newdata |
The testing data to predict group membership |
param |
The parameters being fit to the model (Determined by model optimization). |
Returns a list of predicted group membership