#########Separate############ df %>% separate(column_w_2_obs, into = c("obs1", "obs2"), sep = ",") ### use "convert = TRUE" after sep arg to convert separeted columns into numeric if applicable. #########Unite############ df %>% unite(united_col, col1, col2, sep = " ") #Sep = " " makes white space
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter