Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

combine columns in r

df.1 <- data.frame("Name" = c("Jill","Jack","John"))
df.2 <- data.frame("Age" = c(42,16,63))
df.comb <- cbind(df.1,df.2)
 
PREVIOUS NEXT
Tagged: #combine #columns
ADD COMMENT
Topic
Name
2+3 =