Description Usage Arguments Value Examples
This function change the order of problems, methods or parameter values that an existing experiment object contains. The order affects the look of the data representation (as tables and plots).
1 | expReorder(e, elements, placeRestAtEnd = TRUE)
|
e |
Input experiment |
elements |
A list of arrays of strings containing the ordered names. The name for the parameter, method or problem will be given by the name of the corresponding object in the list. The names which have not been specified will be placed at the begining or at the end (depending on the parameter placeRestAtEnd). If a name is not present in the set of parameter values, it will be ignored. |
placeRestAtEnd |
Logical value which indicates if the non specified value names have to be placed after the specified ones (TRUE) or before (FALSE). |
A modified exreport experiment object with some changes on the name of the elements.
1 2 3 4 5 6 | # We load the wekaExperiment problem as an experiment and then change the order
# of the values for the parameter featureSelection and for one valoue for the method.
experiment <- expCreate(wekaExperiment, name="test", parameter="fold")
expReorder(experiment, list(featureSelection = c("yes","no"),
method=c("OneR")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.