The order of entries are randomized.

chunk_df(df, n, seed = NULL)

Arguments

df

A dataframe to be split into equal sized chunks.

n

An integer with the desired number of chunks.

seed

Optionally, a random seed to make chunking reproducible

Value

A list of n entries, each containing a dataframe chunk.