tsibble (version 0.9.3)

stretcher: Split the input to a list according to the stretching window size.

Description

Split the input to a list according to the stretching window size.

Usage

stretcher(.x, .step = 1, .init = 1, .bind = FALSE)

pstretcher(..., .step = 1, .init = 1, .bind = FALSE)

Arguments

.x

An objects to be split.

.step

A positive integer for incremental step.

.init

A positive integer for an initial window size.

.bind

If .x is a list, should .x be combined before applying .f? If .x is a list of data frames, row binding is carried out.

...

Multiple objects to be split in parallel.