Description Usage Arguments Details Value Examples
Repeat the character strings in a character vector a given number of times (i.e., concatenate the respective numbers of copies of the strings).
1 | strrep(x, times)
|
x |
a character vector, or an object which can be coerced to a
character vector using |
times |
an integer vector giving the (non-negative) numbers of
times to repeat the respective elements of |
The elements of x
and times
will be recycled as
necessary (if one has no elements, and empty character vector is
returned). Missing elements in x
or times
result in
missing elements of the return value.
A character vector with the elements of the given character vector repeated the given numbers of times.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.