do.call(rbind, list) for uneven number of column
- by h.l.m
I have a list, with each element being a character vector, of differing lengths
I would like to bind the data as rows, so that the column names 'line up' and if there is extra data then create column and if there is missing data then create NAs
Below is a mock example of the data I am working with
x <- list()
x[[1]] <-…