fmt_num | R Documentation |
Format numeric value
fmt_num(x, digits, width = digits + 4)
x |
an atomic numerical or character object, possibly
|
digits |
the desired number of digits after the decimal
point ( Default: 2 for integer, 4 for real numbers. If less than 0,
the C default of 6 digits is used. If specified as more than 50, 50
will be used with a warning unless |
width |
the total field width; if both |
fmt_num(1.25, digits = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.