I have a wide dataset, I want to subset it by grouping every 50 variables and saving those as a separate dataframe to enable further analysis.
df1 <- df[,1:50]
df2 <- df[,51:100] etc
Is there a way of combining purrr and dplyr to loop over the entire data set to achieve this?