chunk_n: Function to chunk a vector into _n_ pieces.

View source: R/chunk.R

chunk_nR Documentation

Function to chunk a vector into n pieces.

Description

Function to chunk a vector into n pieces.

Usage

chunk_n(x, n)

Arguments

x

Vector to be chunked.

n

Number of chunks to split x into.

Author(s)

Joachim Schork


skgrange/threadr documentation built on Feb. 17, 2025, 9:08 p.m.