powered by
wb wrapper to add style to workbook
wb_add_style(wb, style = NULL, style_name = NULL)
The wbWorkbook object, invisibly.
wbWorkbook
A workbook
style xml character, created by a create_*() function.
create_*()
style name used optional argument
create_border()
create_cell_style()
create_dxfs_style()
create_fill()
create_font()
create_numfmt()
Other workbook styling functions: base_font-wb, wb_add_dxfs_style(), wb_base_colors
base_font-wb
wb_add_dxfs_style()
wb_base_colors
yellow_f <- wb_color(hex = "FF9C6500") yellow_b <- wb_color(hex = "FFFFEB9C") yellow <- create_dxfs_style(font_color = yellow_f, bg_fill = yellow_b) wb <- wb_workbook() %>% wb_add_style(yellow)
Run the code above in your browser using DataLab