bold_column | R Documentation |
Bold columns inside gt objects Helper function to quickly make columns within table bold
bold_column(gt_obj, col, wt = 700)
gt_obj |
gt object to be bolded |
col |
column or columns to be bolded |
wt |
weight of boldness can be lighter, normal, bold, or bolder or 0-1000 |
a modified gt object
## Not run:
mtcars %>%
gt(groupname_col = "cyl") %>%
bold_column(c(mpg, hp, drat, carb), wt = "bolder")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.