Output a desctable to the desired target format
desc_output(desctable, target = c("df", "pander", "DT"), digits = 2, ...)
The desctable to output
The desired target. One of "df", "pander", or "DT".
The number of digits to display. The p values will be simplified under 1E-digits
Other arguments to pass to data.frame
, pander::pander
, or DT::datatable
The output object (or corresponding side effect)
Output a simple or grouped desctable to a different formats. Currently available formats are
data.frame ("df")
pander ("pander")
datatable ("DT")
All numerical values will be rounded to the digits argument. If statistical tests are presents, p values below 1E-digits will be replaced with "< 1E-digits" (eg. "< 0.01" for values below 0.01 when digits = 2)
Other desc_table core functions:
desc_table()
,
desc_tests()