Description Usage Arguments Value Author(s) Examples
Sometimes useful for creating composite primary keys, which order nicely.
1 | lz(x, n = nchar(max(as.numeric(x))))
|
x |
A |
n |
The character length of the returned strings. Defaults to the length of the maximum value of x |
A character
vector
of those numbers, with
leading zeros
Brendan Rocks rocks.brendan@gmail.com
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.