I have two vectors
df1 <- c("a","b","c")
df2 <- c("1","2","3")
# expected output
# a1 a2 a3 b1 b2 b3 c1 c2 c3
I've seen Paste all combinations of a vector in R, However, That doesn't solve my dilemma.
I have two vectors
df1 <- c("a","b","c")
df2 <- c("1","2","3")
# expected output
# a1 a2 a3 b1 b2 b3 c1 c2 c3
I've seen Paste all combinations of a vector in R, However, That doesn't solve my dilemma.
Another approach: