Answers for "split dataframe into 4 parts in r"

R
1

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 "split dataframe into 4 parts in r"

Browse Popular Code Answers by Language