powered by
change font color of selected rows and columns of a flextable.
color(x, i = NULL, j = NULL, color, part = "body")
a flextable object
rows selection
columns selection
color to use as font color
partname of the table (one of 'all', 'body', 'header')
# NOT RUN { ft <- flextable(mtcars) ft <- color(ft, color = "orange", part = "header") # }
Run the code above in your browser using DataLab