padZeros | R Documentation |
pad zeros on integers
padZeros(x, nchars)
x |
integers to pad. They can be coded as characters already. |
nchars |
Optional specification of length of character strings to return. If not supplied, characters will be padded to match length of max value in x. |
A character vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.