I have a large list of lists full of IDs with the following properties
list1 <- c(145540,145560, 157247, 145566)
list2 <- c(166927, NA, NA, NA)
list3 <- c(145592, 145560, 145566, NA)
list <- list(list1, list2, list3)
Now I would like to coerce this large list to a data.frame while keeping the list properties of the nested lists. The desired output should look like this:
list1 list2 list3
145540 166927 145592
145560 NA 145560
157247 NA 145566
145566 NA NA
Thank you very much for your help.
`