partition: Partition data into chunks

Description Usage Arguments Methods (by class)

Description

Partition a vector, list matrix or data.frame into a list of vectors, lists, matrices or data.frames respectively, each of the same size (last might be smaller).

Usage

1
2
3
4
5
6
7
partition(data, size)

## S3 method for class 'data.frame'
partition(data, size)

## Default S3 method:
partition(data, size)

Arguments

data

the data to partition

size

the partition size

Methods (by class)


hoesler/dbj documentation built on May 17, 2019, 4:36 p.m.