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', 'footer')
Other sugar functions for table style: align, bg, bold, empty_blanks, fontsize, font, italic, padding, rotate, valign
align
bg
bold
empty_blanks
fontsize
font
italic
padding
rotate
valign
# NOT RUN { ft <- flextable(mtcars) ft <- color(ft, color = "orange", part = "header") # }
Run the code above in your browser using DataLab