View source: R/wb_format_header.R
wb_format_header | R Documentation |
Format Header of Excel Table
wb_format_header(wb, sheet = openxlsx2::current_sheet(), dat)
wb |
A |
sheet |
A name or index of a worksheet |
dat |
data which were included in Excel sheet, used to extract dimensions of header |
wb_workbook(creator = "Reto Zihlmann") %>%
wb_add_worksheet(sheet = "README", tab_color = "green") %>%
wb_add_data(sheet = 1, x = dat, with_filter = FALSE) %>%
wb_set_col_widths(sheet = 1, cols = 1:ncol(dat), widths = "auto") %>%
wb_format_header(dat = dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.