powered by
..
rbinds(x, make.row.names = FALSE, ..., .id = "idx")
Function rbinds returns a data.frame.
a list of named data.frame
additional parameters of rbind.data.frame
character value to specify the name of ID column, nomenclature follows rbindlist
Yet to look into ggplot2:::rbind_dfs closely.
ggplot2:::rbind_dfs
Mine is slightly slower than the fastest alternatives, but I have more checks which are useful.
https://stackoverflow.com/questions/2851327/combine-a-list-of-data-frames-into-one-data-frame
x = list(A = swiss[1:3, 1:2], B = swiss[5:9, 1:2]) # list of 'data.frame' rbinds(x) rbinds(x, make.row.names = TRUE)
Run the code above in your browser using DataLab