format_sprintf | R Documentation |
Can be used to provide format functions for labels in ggpltos
format_sprintf(fmt)
fmt |
sprintf formatting string. see |
function formatting x with sprintf
# add one leading zeroes for 1 digits numbers
add_leading_zeroes <- format_sprintf("%02d")
add_leading_zeroes(1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.