Answers for "how to split a string into a list in r for a dataframe column in tidy verse"

R
2

how to split a column in r

library(tidyverse)
df <- df %>% separate(old_col_name, c('new_col_1','new_col_2'), extra='drop')
Posted by: Guest on April-08-2021

Code answers related to "how to split a string into a list in r for a dataframe column in tidy verse"

Browse Popular Code Answers by Language