chunkVector: Assign vector elements into chunks

Description Usage Arguments Value

View source: R/compare.R

Description

Assign vector elements into chunks

Usage

1
chunkVector(x, nElems)

Arguments

x

Vector of elements

nElems

Numeric: number of chunks

Value

List of chunks with the original vector elements divided


cTRAP documentation built on Nov. 8, 2020, 10:58 p.m.