Description Usage Arguments Examples
A vectorised utility tool for making numbers the same length. This is usefull for getting filenames in the right order since R thinks stuff_2 comes after stuff_10. Instead this will return numbers such as 0002 and 0010.
1 | strictNumLength(i, d = 4)
|
i |
the number to make strict |
d |
the length of the output number |
1 | strictNumLength(c(1,2,3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.