expReduce {exreport} | R Documentation |
This functions reduces a parameter by aggregating the outputs variables for each value and for each configuration of method, problem and remaining parameters. By default it computes the mean of the variables.
expReduce(e, parameters = NULL, FUN = mean)
e |
An input experiment object. |
parameters |
The parameter or parameters to be reduced, if NULL or default all parameters are considered. |
FUN |
The function used to agregate the ouput values |
An experiment object.
# Create an experiment from the wekaExperiment
experiment <- expCreate(wekaExperiment, name="test-exp", parameter="fold")
# We would like to reduce the fold parameter by its mean value. This way
expReduce(experiment, "fold", mean)