Description Usage Arguments Value Note See Also
Recolors a scorecard table grid by setting every cell
containing the value of 1
to the given color.
This is useful for highlighting the rank
columns.
1 | recolor_rank(table, sdf, cell_fill, cell_fg = "black", cell_alpha = 1)
|
table |
the table grid to modify |
sdf |
scorecard data frame |
cell_fill |
the cell fill color to apply to matches |
cell_fg |
the cell foreground color |
cell_alpha |
the cell alpha color adjustment |
the modified table grid
Does not color the first match, which presumably is the model row index counter.
grid::gpar, tableGrid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.