Skip to content
Prev 308768 / 398503 Next

Join data frame columns

Hello,

Use apply/paste.

apply(df, 1, paste, collapse = "")  # outputs a vector

Also, df is the name of an R function, you should choose something else, 
it can become confusing.

Hope this helps,

Rui Barradas
Em 23-10-2012 12:45, brunosm escreveu: