baseLaTeXHighlighter: Base LaTeX highlighter

Description Usage Arguments Value

View source: R/highlight.R

Description

Highlight best values and optionally highlights the k best values with background colors of different opacity.

Usage

1
2
3
baseLaTeXHighlighter(values, ordering, n.highlight = 1,
  bg.color = "gray", bg.saturation.max = 80, bg.saturation.min = 20,
  digits = 2L)

Arguments

values

[numeric]
Vector of numeric values.

ordering

[integer]
Ordering of values. I.e., if ordering[i] == 3, then the i-th element is 3rd in the sorted sequence.

n.highlight

[integer(1)]
The n.highlight best – according to ordering – values are highlighted with a background color.

bg.color

[character(1)]
Base color used for LaTeX table cellcolor.

bg.saturation.max

[character(1)]
Maximal color saturation used for cellcolor.

bg.saturation.min

[character(1)]
Minimal color saturation used for cellcolor.

Value

[character] Modified values vector.


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