| bc_strrep | R Documentation |
The bc_strrep() method
is a broadcasted form of strrep.
bc_strrep(x, y, ...)
## S4 method for signature 'ANY'
bc_strrep(x, y)
x |
vector/array of type |
y |
vector/array of type |
... |
further arguments passed to or from methods. |
A character array as a result of the broadcasted repetition operation.
x <- array(sample(month.abb), c(10, 2))
y <- array(sample(1:10), c(10, 2, 3))
print(x)
print(y)
bc_strrep(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.