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 Jan. 10, 2025, 10:06 a.m.