On 3/10/2017 2:23 AM, Bert Gunter wrote:
I think you need to spend some time with an R tutorial or two,
especially with regard to indexing.

Unless I have misunderstood (apologies if I have),

df$Conc <- apply(df[,-1],1,paste,collapse="")

does it.

-- Bert


\

Thanks -- sage advice.

______________________________________________
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.

Reply via email to