chunk2: Split a vector into n chunks

Description Usage Arguments Author(s) References Examples

View source: R/chunk2.R

Description

Split a vector into n chunks

Usage

1
chunk2(x, n)

Arguments

x

a vector

n

number of chunks

Author(s)

mathheadinclouds, Dis Shishkov

References

http://stackoverflow.com/questions/3318333/split-a-vector-into-chunks-in-r

Examples

1
chunk2(1:30, 6)

stackoverflow documentation built on May 29, 2017, 3:46 p.m.