The list of lists that I have has 104 lists which in turn have 36 elements each. I was looking to convert this to a data frame with 104 rows and 36 columns while retaining the names of the columns.
Something like the following example:
x <- list("a"=1,"b"=2,"c"=3)
y <- list("a"=2,"b"=4,"c"=1)
z <- list("a"=1,"b"=6,"c"=9)
lst <- list("A" = x, "B" = y, "C" = y)
What I am trying to get is:
a b c
A 1 2 3
B 2 4 1
C 3 1 9
With the names for the rows and columns
Using the answer shown here