Skip to content

Instantly share code, notes, and snippets.

@tengpeng
Created February 9, 2015 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tengpeng/b2914f81694111750c72 to your computer and use it in GitHub Desktop.
Save tengpeng/b2914f81694111750c72 to your computer and use it in GitHub Desktop.
Merge multicolumns of a data into one column in R
matrix(cbind(pig1[,1:4], ncol=1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment