highlight_cell | R Documentation |
Highlights in red numeric cells that are above the specified threshold.
highlight_cell(.l, .i, .threshold)
.l |
character scalar of the line to be formatted (a row of a kable table) |
.i |
the index of the column to check |
.threshold |
the threshold to check against. If value is greater than .threshold then it is formatted as red. |
character vector of formatted values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.