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