Skip to contents

Split vector into batches with maximum size

Usage

split_batch_maxn(.vec, max_content)

Arguments

.vec

A vector

max_content

The maximum lenght of each batch

Value

A list of vectors

Examples

if (FALSE) { # \dontrun{
a <- 1:467
split_batch(a, max_content=40)
} # }