reprow | R Documentation |
Data replication function
reprow(x, ...)
## S3 method for class 'matrix'
reprow(x, ...)
## S3 method for class 'data.frame'
reprow(x, ...)
## S3 method for class 'data.table'
reprow(x, ...)
x |
matrix, data.frame, data.table. |
... |
times, each |
This function is for replicating data rows
reprow(iris, times = 3)
reprow(iris, each = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.