View source: R/clanToolsFunctions.R
leading.zeros.to.fit | R Documentation |
Add zeros when numbers occur in filenames and such 009 comes before 111 (cf. 9 vs. 111). The number of leading zeros is camculated automatically.
leading.zeros.to.fit(c(9,111))
x |
is a vector of numeric values |
The vecor of characters wher zeors have been added as necessary
Claus E. Andersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.