add_zeros | R Documentation |
Add trailing zeros
add_zeros(x, len = max(nchar(x), na.rm = TRUE))
x |
vector to add trailing zeros |
len |
length of string to be output |
character vector with traling zeros
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.