?stack
tmp <- data.frame(a=1:10, b=11:20)
stack(tmp)
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-
I have two dataframes, yendog and datasub as below and I want to do the
same thing to both of them, namely convert
them so that they retain their dataframeness but stack the columns into
1 column. I don't need names
on the results.
I did try
temp1<-do.call("rbind",datasub)
temp2<-do.call("rbind"