Chunks: Chunks

Description Usage Arguments

View source: R/Chunks.R

Description

Splitting vector into specified n.chunks.

Usage

1
Chunks(vec, n.chunks, exclude = c("residuals", "predicted"))

Arguments

vec

Any vector. Vector to split into chunks. No default.

n.chunks

Integer vector of length 1. Number of chunks to split the vector into. No default.

exclude

Character vector. Names of elements to remove from vector before splitting. Particularly relevant for use in package regone. Defaults to c("residuals", "predicted").


itslwg/regone documentation built on Oct. 14, 2021, 12:52 a.m.