Hello,I have the following data | colA | colB | colC | colD | | NA | pumpkin | NA | Pumpkin | | Cassava | NA | NA | Cassava | | yam | NA | NA | yam | | NA | Cherry | NA | Cherry | | NA | NA | Pepper | Pepper | | NA | NA | Mango | Mango | | maize | NA | NA | maize |
All I want to do is to combine the first three columns in order to obtain the fourth column. A way forward will be greatly appreciated. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.