Description Usage Arguments Author(s) Examples
View source: R/rep_dataframe.R
rep_dataframe
Repeats a dataframe n times by rbind or cbind.
1 | rep_dataframe(data, times = 1, by = "rbind")
|
data |
requires the dataframe to be copied. |
times |
requires the number of times the dataframe has to be repeated. Defaults to 1. |
by |
requires a character string specifying the function to bind the repeated dataframes("rbind", "cbind"). Defaults to "rbind". |
René Michel
1 | repeated_data = rep_dataframe(data, 2, "rbind")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.