rep_row | R Documentation |
Helper function to repeat a matrix by row
rep_row(x, n)
x |
vector to repeat |
n |
number of repetions |
Matrix with vector x repeated n-times by rows.
set.seed(1)
rep_row(rnorm(5), 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.