Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

splitN

Split a dataframe every nth row


Description

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

Usage

splitN(x, n, row.names = FALSE)

Arguments

x

the dataframe

n

the number of rows to keep in each chunk

Value

A list of equal-sized dataframes


actel

Acoustic Telemetry Data Analysis

v1.2.1
GPL-3
Authors
Hugo Flávio [aut, cre] (<https://orcid.org/0000-0002-5174-1197>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.