format_test_results: Formatter for test results in tables.

Description Usage Arguments Value

View source: R/formatter.R

Description

...

Usage

1
2
format_test_results(x, positive.only = FALSE, interval = FALSE,
  colors = NULL, use.xcolor = FALSE, ...)

Arguments

x

[character]
Character vector with encoded test results (e.g. c("1+,2+,4-,6+")).

positive.only

[logical(1)]
Show only positive test results? Default is FALSE.

interval

[logical(1)]
Use interval notation? If TRUE, e.g. c("1+,2+,3+,4+") is formatted to "[1-4]+". Default is FALSE.

colors

[character | NULL]
Vector of colors used to highlight algorithm IDs via LaTeX textcolor. If not NULL must provide at least as many colors as there are algorithms. Default is NULL.

...

[any]
Not used at the moment.

use.xcolor[logical(1)]

Use xcolor palette? If TRUE, colors is set to c("blue", "brown", "olive", "orange", "purple", "teal", "violet"). Default is FALSE.

Value

[character] Vector with formatted test results.


jakobbossek/tblutils documentation built on March 13, 2021, 12:47 p.m.