For internal use in table1() to format table with condensing.
table1_format_condense(d, tab, tab2, tests, test, NAkeep, rounding_perc,
format_output, second, nams, simple, output, f1)the data
the summary statistics
the secondary summary statistics
the tests
whether there should be significance tests performed
logical; should we keep the NA's in factor variables
the number of decimal places to round the percentages
the output to be displayed (see table1())
the list of variables to apply FUN2
the variables to which FUN2 is to be applied
only percentages to be produced?
how to print the table (see table1())
the formatting of the numbers
A data.frame