Is there a way to use booktabs or rowgrouping to emulate merging cells in excel, without having to manually choose the rows/columns?
I apologize but I am unsure of how to word this. I am using Rmarkdown and DT to make many tables and I am hoping to not have to manually set which rows to group. I am making tables of sales by region where USA is the total for all districts from data.frame$district and NY and NJ are the individual districts. I would essentially like to make the first table into the second one in my HTML output