I have two lists with different structure:
listA <- list(c(\"a\",\"b\",\"c\"), c(\"d\",\"e\")) listB <- list(0.05, 0.5) listA [[1]] [1] \"a\" \"b\" \"c\"
Here is another way:
do.call(rbind, lapply(1:length(listA), function(i) data.frame(A=unlist(listA[i]), B=unlist(listB[i]))))