Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

combine ro columns in r

 df$x <- paste(df$n,df$s)
 df
#   n  s     b    x
# 1 2 aa  TRUE 2 aa
# 2 3 bb FALSE 3 bb
# 3 5 cc  TRUE 5 cc
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #combine #ro #columns
ADD COMMENT
Topic
Name
5+7 =