specifyDecimal | R Documentation |
Taken in part from https://stackoverflow.com/a/12135122/1547926https://stackoverflow.com/a/12135122/1547926
specifyDecimal(x, decimals = 2, comma.for.thousands = TRUE)
x |
The number(s). |
decimals |
Number of decimal places to show. |
comma.for.thousands |
If TRUE, uses a comma when there are thousands. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.