chunk2: Split a vector into n chunks

Description Usage Arguments Author(s) References Examples

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)


Search within the stackoverflow package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.