Create TableTree as DataFrame via gentlg
tt_to_tbldf(
tt,
fontspec = font_spec("Times", 9L, 1),
string_map = default_str_map,
markup_df = dps_markup_df,
round_type = obj_round_type(tt),
validate = TRUE
)tt represented as a tbl data.frame suitable for passing
to tidytlg::gentlg via the huxme argument.
(TableTree)
TableTree object to convert to a data frame
(font_spec)
Font specification object
(list)
Unicode mapping for special characters
(data.frame)
Data frame containing markup information
(character(1))
the type of rounding to perform.
See formatters::format_value() for more details.
logical(1). Whether to validate the table structure using
rtables::validate_table_struct(). Defaults to TRUE. If FALSE, a message
will be displayed instead of stopping with an error when validation fails.