tabularExpSummary: Summarize the experiment with a table for given outputs

Description Usage Arguments Value Examples

View source: R/fun_tabularExpSummary.R

Description

This function generates a table for the given outputs of the experiment, comparing all methods for each one of the problems. In addition the function can highlight the best results for each problem as well as display a range of parameters for the posterior renderization.

Usage

1
2
tabularExpSummary(exp, outputs, boldfaceColumns = "none", format = "f",
  digits = 4, tableSplit = 1, rowsAsMethod = TRUE)

Arguments

exp

The ource experiment to generate the table from

outputs

A given variable or list of them to be the target of the table

boldfaceColumns

Indicate ("none","max" or "min") to highlight the method optimizing the variables for each problem.

format

Indicates the format of the numeric output using C formatting styles. Defaults to 'f'

digits

The number of decimal digits to include for the numeric output.

tableSplit

Indicates the number of parititions of the table that will be rendered. Usefull when the the table is excessivelly wide.

rowsAsMethod

Display the methods as the rows of the table, indicate FALSE for a transpose table.

Value

An extabular object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# This example plots the distribution of the trainingTime variable in the 
# wekaExperiment problem.

# First we create the experiment from the problem.
experiment <- expCreate(wekaExperiment, name="test", parameter="fold")

# Next we must process it to have an unique parameter configuration:
# We select a value for the parameter featureSelection:
experiment <- expSubset(experiment, list(featureSelection = "yes"))
# Then we reduce the fold parameter:
experiment <- expReduce(experiment, "fold", mean)
# Finally we remove unary parameters by instantiation:
experiment <- expInstantiate(experiment, removeUnary=TRUE)

# Generate the default table:
tabularExpSummary(experiment, "accuracy")

jacintoArias/exreport documentation built on June 6, 2021, 3:40 a.m.