Description Usage Arguments Details Value Examples
Left pad strings the way of pipe operator
1 | string %lpad% pad.width
|
string |
Character vector or NULL |
pad.width |
string or .digit where to indicate the pad and widht |
This functions is a pipe version of stringr::pad
A character vector or NULL
1 2 3 4 5 | 5 %lpad% '0.5'
5 %lpad% .5
5 %lpad% '.5'
5 %lpad% '2.5'
'é' %lpad% 'é.5'
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.