| expandrows | R Documentation |
Repeat each row of a table according to a count vector.
expandrows(data, times)
data |
A data frame or data table. |
times |
A scalar or row-wise count vector giving repetitions. |
A basetable with repeated rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.