I have a list in which each list item is a word frequency table derived from using \"table()\" on a different sample text. Each table is, therefore, a different length. I want
freqs.list <- mapply(data.frame,Words=seq_along(myList),myList,SIMPLIFY=FALSE,MoreArgs=list(stringsAsFactors=FALSE)) freqs.df <- do.call(rbind,freqs.list) res <- reshape(freqs.df,timevar="Words",idvar="Var1",direction="wide") head(res)