splitN: Split a dataframe every nth row

Description Usage Arguments Value

View source: R/helper.R

Description

Idea from here: https://stackoverflow.com/questions/7060272/split-up-a-dataframe-by-number-of-rows

Usage

1

Arguments

x

the dataframe

n

the number of rows to keep in each chunk

Value

A list of equal-sized dataframes


actel documentation built on Jan. 6, 2021, 1:07 a.m.