tt_formatNum | R Documentation |
This function formats numbers in a table within a LaTeX document.
tt_formatNum(
x,
dec = 4,
big.mark = ",",
percentage = F,
dollar = F,
se = F,
pvalues = NULL,
surround = ""
)
x |
The number(s) to be formatted (numeric). |
dec |
Number of decimal places (numeric). |
big.mark |
Used as mark within large numbers; normally, a comma (as in 1,201,390) (character). |
percentage |
(logical) |
dollar |
(logical) |
se |
(logical) |
pvalues |
(numeric) |
surround |
(string) allows to surround the results with text |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.