View source: R/file_format_utils.R
add_leading_zeros | R Documentation |
Add leading zero before decimal point to vectors of numbers if necessary
add_leading_zeros(vec)
vec |
vector of possibly decimal numbers |
formatted character vector with leading zero before decimal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.