I am new to R and just started working with list. I have a list of different lengths that I would like to convert into a data frame. My list looks something like this:
List of A:  
$ reference: chr [1:20000] "13000" "5000" "23234" ...  
$ name_1 : chr [1:9000] "5000" "14523" ...  
$ name_2 : chr [1:800] "13000" "23234" ...
And I would like to make a data frame of something like this:
reference name_1 name_2  
13000     NA     13000  
5000      5000   NA  
23234     NA     23234
Thank you so much for the help! I tried to fill the rest of the column with NAs so they have the same length as the "reference" but it still did not organize it the way I wanted it!
 
     
    