dp | R Documentation |
display decimal places nicely
dp(x, digits)
x |
a real number (or a vector of real numbers) |
digits |
number of decimal places to keep |
keep trailing zeros
a string (or a vector of strings)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.