Description Usage Arguments Value See Also Examples
These functions allow easy replication of rows and columns
1 2 3 |
x |
row/column to be repeated |
n |
number of times to be repeated |
matrix with x repeated n times
https://www.r-bloggers.com/a-quick-way-to-do-row-repeat-and-col-repeat-rep-row-rep-col/ and is written by TszKin Julian
1 | ## Not run: repRow(x,n)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.