R/rule_text_color.R
rule_text_color.Rd
Give a color to the text according to some expression
rule_text_color(x, columns, expression, na.color = "", lockcells = FALSE)
A condformat object, typically created with condformat()
A character vector with column names to be coloured. Optionally
tidyselect::language()
can be used.
Condition that evaluates to color names for the rows where text should be colored
Color for missing values
logical value determining if no further rules should be applied to the affected cells.
Other rule:
rule_css()
,
rule_fill_bar()
,
rule_fill_discrete()
,
rule_fill_gradient2()
,
rule_fill_gradient()
,
rule_text_bold()