HTable_col_color_scale: Apply a color scale gradient to columns

Description Usage Arguments

Description

Change numeric column(s) to have a background color gradient based on the range of values in the column.

Usage

1
2
obj$col_color_scale(col = NULL, color = c("#63BE7B", "#FFEB84",
  "#F8696B"), exclude_rows = NULL, na.rm = TRUE, all = FALSE)

Arguments

col

Numeric or character vector of which columns to target.

color

Character vector of HTML color names, hex color codes, or rgb colors of the form rgb(x, y, z). Used to create a color palette.

exclude_rows

Numeric vector of which rows to exclude from calculation and coloring.

all

Boolean if the color scaling should be scaled across all of the values in the col columns.


fazetu/htable documentation built on Feb. 12, 2020, 10:13 a.m.