How can I concatenate (merge, combine) two values? For example I have:
tmp = cbind(\"GAD\", \"AB\") tmp # [,1] [,2] # [1,] \"GAD\" \"AB\"
Given the matrix, tmp, that you created:
paste(tmp[1,], collapse = ",")
I assume there is some reason why you're creating a matrix using cbind, as opposed to simply:
tmp <- "GAD,AB"