| color {flextable} | R Documentation |
change font color of selected rows and columns of a flextable.
color(x, i = NULL, j = NULL, color, part = "body")
x |
a flextable object |
i |
rows selection |
j |
columns selection |
color |
color to use as font color |
part |
partname of the table (one of 'all', 'body', 'header', 'footer') |
ft <- flextable(mtcars) ft <- color(ft, color = "orange", part = "header")