aitoa.make.stat.table.md: Make a Statistics Table

Description Usage Arguments Value

View source: R/make_stat_table.R

Description

Create a table with standard statistics.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
aitoa.make.stat.table.md(
  end.result.stats,
  algorithms,
  instances,
  stat.cols = list(best = "best.f.min", mean = "best.f.mean", med = "best.f.median", sd
    = "best.f.sd", `med(t)` = "last.improvement.time.median", `med(FEs)` =
    "last.improvement.fes.median"),
  instance.col = if (length(instances) > 1L) "$\\instance$" else NULL,
  instance.format = aitoa.format.setup,
  instances.limit = NULL,
  instances.limit.col = if (is.null(instances.limit)) NULL else
    "$\\lowerBound{\\objf}$",
  instances.limit.format = aitoa.format.small.integer.objective.value,
  algorithms.col = if (length(algorithms) > 1L) "setup" else NULL,
  algorithm.format = aitoa.format.setup,
  stat.cols.format = aitoa.statistics.cols.to.formats(stat.cols),
  mark.smallest.stat = rep_len(TRUE, length(stat.cols)),
  smallest.stat.start = "**",
  smallest.stat.end = "**"
)

Arguments

end.result.stats

the data frame with the statistics

algorithms

the list of algorithms, using names as their names

instances

the instances, using names as their names

stat.cols

the statistics columns to plot

instance.col

the print name of the instance column

instance.format

the format for the instance name

instances.limit

an optional vector of instance limits

instances.limit.col

an optional title for the instances limit column

instances.limit.format

the formatter for the instances limits

algorithms.col

the print name of the algorithms column

algorithm.format

the algorithm format

stat.cols.format

the formats for the statistics columns

mark.smallest.stat

should the smallest statistic be marked (per column)

smallest.stat.start

the start string of the smallest stat mark

smallest.stat.end

the end string of the smallest stat mark

Value

a character array with the data in markdown format


thomasWeise/aitoaEvaluate documentation built on Dec. 6, 2020, 1:22 p.m.