signup | R Documentation |
signup
rounds the values in its first argument to the specified number of significant digits upwards.
signdown
rounds the values in its first argument to the specified number of significant digits downwards.
signup(x, digits = 6) signdown(x, digits = 6)
x |
a numeric vector. |
digits |
integer indicating the number of significant digits to be used. |
signif
signup(c(1.111, 1.2345e5, 9.8765e-5), 3) signdown(c(1.111, 1.2345e5, 9.8765e-5), 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.