Description Usage Arguments Details Value Author(s) See Also Examples
Convert a number to a string, and pad out the resulting character with "0" at the start.
1 |
int |
a numeric vector, or character vector of numbers |
strWidth |
the desired width. If |
atEnd |
logical: pad at the end ( |
Can supply strWidth
to specify the number of characters desired in the final string. If it's
not supplied, then a single "0" is prepended. If int
is
a vector of numbers, strWidth
is automatically set so that they all have the same number of
characters.
a charcter vector, all with the same nchar
.
Mark Cowley, 2005-09-21
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.