split_by_ncol: Function to split a dataframe into a list

Description Usage Arguments

View source: R/split_by_ncol.R

Description

This function splits a dataframe into a list of dataframes with at most n columns. Especially useful when working with large dataframes.

Usage

1
split_by_ncol(x, n = 25)

Arguments

x

should be a dataframe. Right now I'm not checking it, but will be fixed in the future.

n

maximum number of columns in the smaller dataframes.


ExabytE1337/Lori documentation built on Feb. 17, 2021, 1:18 a.m.