如何更改弹性表头的颜色?我正在旧的FlexTable中寻找与此等效的东西:
MyFTable <- setFlexTableBackgroundColors(MyFTable, i = 1 , j = 4, colors = "grey", to = "header")
答案 0 :(得分:1)
这应该产生您想要的:
MyFtable <- bg(i = 1, j = 4, bg = "grey", part = "header")
flextable
的所有功能都在https://davidgohel.github.io/flextable/articles/overview.html上有很好的记录-供我参考!