Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

chunk2

Split a vector into n chunks


Description

Split a vector into n chunks

Usage

chunk2(x, n)

Arguments

x

a vector

n

number of chunks

Author(s)

References

Examples

chunk2(1:30, 6)

stackoverflow

Stack Overflow's Greatest Hits

v0.7.0
CC BY-SA 4.0
Authors
Neal Fultz <nfultz@gmail.com> and the StackOverflow.com community
Initial release
2020-01-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.