digits {formattable} | R Documentation |
Numeric vector showing pre-specific digits
Description
Numeric vector showing pre-specific digits
Usage
digits(x, digits, format = "f", ...)
Arguments
x |
a numeric vector |
digits |
an integer to indicate the number of digits to show. |
format |
format type passed to |
... |
additional parameters passed to |
Examples
digits(pi, 2)
digits(123.45678, 3)
[Package formattable version 0.2.1 Index]