repeat_df | R Documentation |
Repeats a data frame n times. Useful for testing on large data frames.
repeat_df(.df, n, id = NULL)
.df |
a data frame |
n |
times the data frame should be repeated |
id |
a character element that creates a column with a number for each repetition |
a vector of the integers 1, 0 and NA (if not dummy_ is used).
vignette("hablar")
repeat_df(mtcars, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.