Details
Transformations recorded via format_tt() and style_tt() are evaluated at the very end of the rendering pipeline, after rbind2() has combined the tables. When headers are inserted or columns differ in type, the combined data is first coerced to character, so subsequent formatting/styling works on strings. Apply format_tt() directly to raw data frames before calling tt(), or re-run the formatting/styling steps on the combined table to preserve rounding and other rules.
Calls to other tinytable functions such as style_tt() or group_tt() are ignored when applied to x or y. These functions should be applied to the final table instead.
Information in these S4 slots is carried over from x to the combined table:
-
x@output
-
x@caption
-
x@width
Information in these S4 slots is concatenated and carried over to the combined table:
This function relies on the rbindlist() function from the data.table package.