decimalsAfterPrecision | R Documentation |
decimalsAfterPrecision
decimalsAfterPrecision(x, n = 0, limit = NA)
x |
character with number |
n |
integer number, DEFAULT=0 |
limit |
integer - maximum digits, DEFAULT=Inf |
a character string with the decimals after truncation
decimalsAfterPrecision(pi, 0) decimalsAfterPrecision(pi, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.