tableRowColors: Color table rows according to ggplot coloring by groups.

Description Usage Arguments Value Examples

Description

Color table rows according to ggplot coloring by groups.

Usage

1
tableRowColors(data, variable, colorvec, alpha_append = NULL)

Arguments

data

a special data frame.

variable

a column name in the data specifying the factor used for plot colors.

colorvec

a vector of colors.

alpha_append

NULL or a two digit numeric or character to append to hex colors.

Value

a DT::styleEqual call.

Examples

1
#not run

leonawicz/apputils documentation built on May 13, 2019, 1:38 a.m.