| set | R Documentation |
Stacks multiple data frames and matches column names.
set(..., id = FALSE, compress = NULL, guessing_rows = 100)
... |
Put in multiple data frames to stack them in the provided order. |
id |
Adds an ID column to indicate the different data frames. |
compress |
No compression by default. If compression receives any value, |
guessing_rows |
100 by default. |
Returns a stacked data frame.
# Example data frames
my_data1 <- dummy_data(100)
my_data2 <- dummy_data(100)
my_data3 <- dummy_data(100)
my_data4 <- dummy_data(100)
my_data5 <- dummy_data(100)
# Stack data frames
stacked_df <- set(my_data1,
my_data2,
my_data3,
my_data4,
my_data5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.