desc_output | R Documentation |
Output a desctable to the desired target format
desc_output(desctable, target = c("df", "pander", "DT"), digits = 2, ...)
desctable |
The desctable to output |
target |
The desired target. One of "df", "pander", or "DT". |
digits |
The number of digits to display. The p values will be simplified under 1E-digits |
... |
Other arguments to pass to |
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)
The output object (or corresponding side effect)
datatable
pander
Other desc_table core functions:
desc_table()
,
desc_tests()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.