expReduce {exreport}R Documentation

Reduce a parameter by a function for each method, problem and remaining parameter configuration interaction

Description

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.

Usage

expReduce(e, parameters = NULL, FUN = mean)

Arguments

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

Value

An experiment object.

Examples

# 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)

[Package exreport version 0.4.1 Index]