Answers for "how to split dataset into a vector r"

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 dataset into a vector r"

Browse Popular Code Answers by Language