chunk: Partition vector into blocks (possibly overlapping)

View source: R/chunk.R

chunkR Documentation

Partition vector into blocks (possibly overlapping)

Description

Partition vector into blocks (possibly overlapping)

Usage

chunk(x, chunkSize, overlap = 0, type = "C++")

Arguments

x

Input vector

chunkSize

Integer, size of each block.

overlap

Integer, number of overlapping data points.

type

Toggle either the R or the C++ implementation.


KlausHerrmann/khermisc documentation built on May 6, 2023, 7:08 p.m.