rep | R Documentation |
Repeats an array along an arbitrary axis
rep(x, n, along = 1) crep(x, n) rrep(x, n)
x |
An array object |
n |
Integer, how often to repeat |
along |
Along which axis to repeat (default: 1) |
An array that is repeated 'n' times on axis 'along'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.