Combine a list of data frames into one data frame

前端 未结 9 2167
半阙折子戏
半阙折子戏 2020-11-21 11:25

I have code that at one place ends up with a list of data frames which I really want to convert to a single big data frame.

I got some pointers from an earlier ques

9条回答
  •  执笔经年
    2020-11-21 11:55

    Use bind_rows() from the dplyr package:

    bind_rows(list_of_dataframes, .id = "column_label")
    

提交回复
热议问题