red_green_bars.: Red/Green Color Bars

Description Usage Arguments Note

Description

These functions change the color bar of a cell of a kable obejct. The length of the color bar is determined for each tile by the absolute percentage of the value divided by the absolute max.

Usage

1
2
3

Arguments

x

A numeric column of a data.frame or data.table

Note

For best usage, apply the color transformation with mutate() and then pass the mutated object through kable() with escape = F and format = 'html'. If kableExtra::kable_styling() is used then use protect_latex = F.


joshua-ruf/fidelis documentation built on July 20, 2019, 1:56 a.m.