I have a really simple question that I cannot find a straightforward answer for. I have a data.frame that looks like this:
df3 <- data.frame(x=c(1:10),y=c
Yep, paste() is exactly what you want to do:
paste()
df3$xyz <- with(df3, paste(x,y,z, sep="")) # Or, if you want the result to be numeric, rather than character df3$xyz <- as.numeric(with(df3, paste(x,y,z, sep="")))