rep_df | R Documentation |
Returns a data frame repeated by row n time.
rep_df(df, n)
df |
A data frame. |
n |
The number of times to repeat the data frame by row. |
df <- data.frame(
one = c(1, 2),
two = c(3, 4),
three = c(5, 6)
)
rep_df(df, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.