tochunks: Split a vector into the chunks

View source: R/utils.R

tochunksR Documentation

Split a vector into the chunks

Description

Split a vector into the chunks

Usage

tochunks(x, nchunks)

Arguments

x

A vector.

nchunks

Number of chunks.

Examples

x <- 1:10
names(x) <- letters[1:10]
tochunks(x, nchunks = 3)

zh542370159/SCP documentation built on Nov. 22, 2023, 2:34 a.m.