repeatStr | R Documentation |
Repeat a string a number of times
repeatStr(n = 1, str = " ")
n, str |
Normally, respectively the frequency with which to repeat the string and the string to repeat; but the order of the inputs can be switched as well. |
A character vector of length 1.
### 10 spaces:
repStr(10);
### Three euro symbols:
repStr("\u20ac", 3);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.