[R] Convetring a dataframe so that it just has one column

Richard M. Heiberger rmh at temple.edu
Tue Jul 3 20:38:39 CEST 2007


?stack

tmp <- data.frame(a=1:10, b=11:20)
stack(tmp)



More information about the R-help mailing list