commit | ebdb3c262bbd2aadeefeba95c0a63e986c08c07f | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Wed Aug 12 08:27:38 2020 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Wed Aug 12 08:27:38 2020 -0400 |
tree | 6d8ef216f81b80b86c189c64ee7333da5449bf31 | |
parent | a9c7f03a9cd1075b19ecb6681891b1dd7c1f0435 [diff] [blame] |
save collapse_matrix to latex output as well
diff --git a/R/collapse_rows.R b/R/collapse_rows.R index b26ed5f..d45fe22 100644 --- a/R/collapse_rows.R +++ b/R/collapse_rows.R
@@ -252,6 +252,7 @@ out <- structure(out, format = "latex", class = "knitr_kable") table_info$collapse_rows <- TRUE + table_info$collapse_matrix <- collapse_matrix attr(out, "kable_meta") <- table_info if(row_group_label_position == 'stack'){ group_row_index_list <- collapse_rows_index(kable_dt, head(columns, -1))