rep_col {cities} | R Documentation |
rep_rcol
Description
Helper function to repeat a matrix by column
Usage
rep_col(x, n)
Arguments
x |
vector to repeat |
n |
number of repetions |
Value
matrix with vector x repeated n-times by columns.
Examples
set.seed(1)
rep_col(rnorm(5), 5)
[Package cities version 0.1.3 Index]