- tt
(TableTree or related class)
a TableTree object representing a populated table.
- spec
(function)
function that generates the result data frame from a table (TableTree).
It defaults to NULL, for standard processing.
- data_format
(string)
the format of the data in the result data frame. It can be one value
between "full_precision" (default), "strings", and "numeric". The last two values show the numeric
data with the visible precision.
- make_ard
(flag)
when TRUE, the result data frame will have only one statistic per row.
- expand_colnames
(flag)
when TRUE, the result data frame will have expanded column
names above the usual output. This is useful when the result data frame is used for further processing.
- keep_label_rows
(flag)
when TRUE, the result data frame will have all labels
as they appear in the final table.
- add_tbl_name_split
(flag)
when TRUE and when the table has more than one
analyze(table_names = "<diff_names>"), the table names will be present as a group split named
"<analysis_spl_tbl_name>".
- simplify
(flag)
when TRUE, the result data frame will have only visible labels and
result columns. Consider showing also label rows with keep_label_rows = TRUE. This output can be
used again to create a TableTree object with df_to_tt().
- verbose
(flag)
when TRUE, the function will print additional information for
data_format != "full_precision".
- ...
additional arguments passed to spec-specific result data frame function (spec). When
using make_ard = TRUE, it is possible to turn off the extraction of the exact string decimals
printed by the table with add_tbl_str_decimals = FALSE.
- path_fun
(function)
function to transform paths into single-string row/column names.
- value_fun
(function)
function to transform cell values into cells of a data.frame. Defaults to
collapse_values, which creates strings where multi-valued cells are collapsed together, separated by |.