pad0 | R Documentation |
Given a number or string, pad the front with zeroes up to length len. This function is a simple wrapper for stringr::str_pad(s,width=len,side="left",pad="0").
pad0(s, len)
s |
A string or number. |
len |
Numeric value, length of the final string. |
s with zeroes in front.
pad0(45,4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.