zero_pad | R Documentation |
Zero pad character vectors
zero_pad(x, digits)
x |
character input to pad |
digits |
numeric. number of zeros to pre-append |
## Not run: zero_pad(1, 2) zero_pad(1, 3) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.