split_df: Split a large dataframe into multiple smaller data frames.

Description Usage Details

Description

split_df splits a dataframe into n (nearly) equal pieces, all pieces containing all columns of the original data frame. If the number of rows in the original dataframe is not evenly divisibile by n, the nth dataframe will contain the remainder rows.

Usage

1

Details

@param data Data frame. @param n Integer. Number of divisions. @return Returns a list of dataframes. All dataframes in list will comprise the original data frame.


jwbannister/seepsVeg documentation built on May 20, 2019, 6:23 a.m.