There are objects with basic datas like a<-list(a=1,b="A",c=character())
Now I want convert it to a data.frame, but there for I need equal rows. How to fill the empty vectors with NA in easy way to run as.data.frame(a)
? the only Idea I have is to ask if one elment of the list has length<1 then set element[1]=NA
.