tabularTestSummary: Summarize the result of a multiple comparison statistical...

Description Usage Arguments Value Examples

View source: R/fun_tabularTestSummary.R

Description

This function builds a table from a testMultiple object, either control or pairwise. The htpotheses are added and compared in the table showing the methods and a range of different metrics than can be added to the table. Also the table shows information about rejected hypotheses.

Usage

1
tabularTestSummary(ph, columns = c("pvalue"))

Arguments

ph

The input testMultiple from which the table is generated

columns

A vector indicating the metrics that will be shown in the table

Value

an extabular object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# First we create an experiment from the wekaExperiment problem and prepare
# it to apply the test:
experiment <- expCreate(wekaExperiment, name="test", parameter="fold")
experiment <- expReduce(experiment, "fold", mean)
experiment <- expInstantiate(experiment, removeUnary=TRUE)

# Then we perform a a testMultiplePairwise test procedure
test <- testMultipleControl(experiment, "accuracy", "min")

# Different tables can be obtained by using a range of metrics
tabularTestSummary(test, c("pvalue"))

tabularTestSummary(test, c("rank", "pvalue", "wtl"))

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