set_styling: Update/Set styling of colortable elements

Description Usage Arguments Value

View source: R/set_styling.R

Description

Update/Set styling of colortable elements

Usage

1
2
3
4
5
6
7
set_styling(
  x,
  idx = rep(TRUE, length(x)),
  text_color = NA,
  background = NA,
  style = NA
)

Arguments

x

input vector to be styled

idx

the indexes to be updated or styled. Either numeric or logical

text_color

a valid text color to set the elements

background

a valid background color to set the elements

style

a valid style to apply to the elements

Value

colortable_vect with applied/updated styling


thebioengineer/colortable documentation built on Sept. 2, 2020, 10:35 a.m.