Description Usage Arguments Value
View source: R/make_stat_table.R
Create a table with standard statistics.
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 = "**"
)
|
end.result.stats |
the data frame with the statistics |
algorithms |
the list of algorithms, using |
instances |
the instances, using |
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 |
a character array with the data in markdown format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.