Description Usage Arguments Value See Also
View source: R/format_numbers.R
Pad a string to a given length.
1 | format_pad(x, width, side = "left", character = " ")
|
x |
The string to pad. |
width |
How long should the string be? |
side |
To which side should the padding be added ("left" / "right")? |
character |
Which character to use. |
A string.
Other variables and functions for displaying numbers: eenv_decimals,
eenv_signif_bottom,
eenv_signif_digits,
eenv_signif_steps,
format_float, format_int,
format_number, format_perc,
format_p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.