I have two columns in a data frame that represent addresses. I need to melt the two and recast as a single column and am having trouble wrapping my head around reshape2. Example:
A B
123 address st 122 address st
125 address st 124 address st
127 address st 126 address st
and I need this as the output
C
122 address st
123 address st
125 address st
124 address st
127 address st
126 address st
edit: Let me be a little more specific: order does not matter and there are a great deal of columns in the data frame I am working within, not just the two that need to be merged. It would be great if a new, seperate data frame could be created that is a single column with all the data from address column 1 (A) and address column 2 (B). The addresses (obviously) need to be preserved in their current form. Some answers given have been mashing the data together in a way that does solve this issue.