Description Usage Arguments Value References Examples
repeat a column when needed to match other matrix dimension
1 |
c |
a vector to be repeated |
n |
number ot time to repeat the vector |
a matrix
the original function was found here: https://www.r-bloggers.com/a-quick-way-to-do-row-repeat-and-col-repeat-rep-row-rep-col/
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.