R/misc.R
chunk.Rd
split vector into chunks
chunk(x, n, l = NULL)
vector to split
chunk size
maximum number of chunks
list of chunks