Here I have a list with different length vectors. And I\'d want to get a data.frame. I\'ve seen lots of posts about it in SO (see ref), but none of them are as simple as I e
Make this function:
listToDF <- function(aa){ sapply(aa, "length<-", max(lengths(aa))) }
Then use it, simply:
listToDF(aa)