int2padstr | R Documentation |
Converts an integer or a vector of integers to a string of fixed length padded with a specified character (e.g., zeroes).
int2padstr(ii, pchr, w)
ii |
integer or vector of integers |
pchr |
a padding character (e.g., "0") |
w |
width of the return string (an integer) |
a string or a vector of strings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.