I have a list having 2 elements with 4 columns each.
I'd like to combine 2 elements to have one element/dataframe with 4 columns and 6 rows.
Any suggestions for this?
My example, given
# create a list
l1 <- list(df1 = data.frame(n1 = c(2,2,0), n2 = c(2,1,1), n3 = c(0,1,1), n4 = c(0,1,1)),
df2 = data.frame(n1 = c(1,6,0), n2 = c(2,1,8), n3 = c(0,2,1), n4 = c(0,7,1)))