add_padding | R Documentation |
MOVED Add padding to string
add_padding(
d,
length = NULL,
after = FALSE,
pad = "0",
lead = NULL,
tail = NULL
)
d |
vector of strings or numbers |
length |
final string length |
after |
if padding should be added after as opposed to default before |
pad |
padding string of length 1 |
lead |
leading string for all. Number or character vector. Cycled. |
tail |
tailing string for all. Number or character vector. Cycled. |
vector or character strings of same length.
add_padding(sample(1:200,5),tail="AA",lead=c(2,3,"e"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.