zeropad | R Documentation |
Pads numerics with zeros at the beginning.
zeropad(x, n = max(nchar(x)))
x |
is a numeric vector. |
n |
is the number of characters in the returned strings. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.