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.


jakubkovac/Lori documentation built on Jan. 9, 2020, 9:49 p.m.