HTable_col_data_bar: Apply a data bar element to columns

Description Usage Arguments

Description

Change numeric column(s) to have a colored data bar element in each cell. The length of the bar is based on the range of values in the column. Changes the contents field.

Usage

1
2
obj$col_data_bar(col = NULL, color = "lightgreen", exclude_rows =
  NULL, na.rm = TRUE)

Arguments

col

Numeric or character vector of which columns to target.

color

Character vector (length 1) of an HTML color name, hex color code, or rgb color of the form rgb(x, y, z). Used to color the data bars.

exclude_rows

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


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