Rstudio / gt / targeting the correct header for removal #1926
-
Hi. I am unfortunately restricted from sharing my data but I'm hoping for some help with removing a part of the table that I thought was called the header. I want to remove the part of the table that is targeted in modify_header. The default label for this part of the table would read "Characteristic" and "N = 245". If modified so that labels are empty (label = "") the border for this section still remains. I want to remove it entirely. I would also like to know the correct name of this part of the table (stubhead label? column label?). None of the related rm_ or remove_ commands seem to work. Please advise. Below is my code and table visual to illustrate. Thanks very much!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use |
Beta Was this translation helpful? Give feedback.
You can use
tab_options(column_labels.hidden = TRUE)