getNDecimalsRule | R Documentation |
Note: NA is returned if the element is missing (NA).
getNDecimalsRule(x, rule = c("1"))
x |
Numeric vector. |
rule |
Character vector with rule to use to derive the number of parameters. Currently only: '1' is implemented.
|
Numeric vector of same length than x
with the number of decimals.
Laure Cougnaud
x <- c(0.99, 5.679, 50.45, 1450)
getNDecimalsRule(x = x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.