SyntaxFix
Write A Post
Hire A Developer
Questions
Using dplyr::mutate:
dplyr::mutate
library(dplyr) df <- mutate(df, x = paste(n, s)) df > df n s b x 1 2 aa TRUE 2 aa 2 3 bb FALSE 3 bb 3 5 cc TRUE 5 cc