You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cross-referencing a post I added to StackOverflow here, since no one was able to point me to a solution on SO.
I was putting together an R markdown document to render a pdf, which includes a long table that spans multiple pages. In that table, some of the columns are grouped, and I'm adding headers above to group the 2nd and 3rd column and the 4th and 5th column. The problem that I'm running into is that the headers from add_header_above are not being repeated on the second page. I've included a reproducible example below.
Currently, only the lower level headers ("Category", "n", "%", "n", "%") are being repeated on the second page. Ideally, I'd like for the "Group 1" and "Group 2" headers to be repeated as well. I think this would be a valuable addition to conform with many formatting standards for tables (e.g., APA 7 formatting) as well as generally increasing the readability of tables spanning multiple pages.
Hello!
Cross-referencing a post I added to StackOverflow here, since no one was able to point me to a solution on SO.
I was putting together an R markdown document to render a pdf, which includes a long table that spans multiple pages. In that table, some of the columns are grouped, and I'm adding headers above to group the 2nd and 3rd column and the 4th and 5th column. The problem that I'm running into is that the headers from
add_header_above
are not being repeated on the second page. I've included a reproducible example below.Currently, only the lower level headers ("Category", "n", "%", "n", "%") are being repeated on the second page. Ideally, I'd like for the "Group 1" and "Group 2" headers to be repeated as well. I think this would be a valuable addition to conform with many formatting standards for tables (e.g., APA 7 formatting) as well as generally increasing the readability of tables spanning multiple pages.
Thanks!
The text was updated successfully, but these errors were encountered: