Description Usage Arguments Value Examples
Concatenate col_vec
columnwise n
times
1 | concatenate_col(col_vec, n)
|
col_vec |
a vector to copy/concatenate |
n |
number of times to concatenate (number of columns) |
A matrix where col_vec
is concatenated
n
times along the column axis.
1 2 3 | vec_to_concat <- seq(10)
n <- 5
concatenate_col(vec_to_concat, n) # (10, 5) matrix created
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.