padding | R Documentation |
Left or right pad a string with space or other
characters in order to get a string of a certain length.
This function is a thin wrapper around stringr::str_pad()
.
lpad(string, width, pad = " ")
rpad(string, width, pad = " ")
string |
Character vector to pad. |
width |
How many characters at minimum in the output. |
pad |
The string to pad with. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.