make.windows is a wrapper for slide

make.windows(
  series,
  window.size,
  increment = 1,
  post = eval,
  debug = FALSE,
  ...
)

Arguments

series

A list or vector object from which incremental subsets (windows) of a fixed size are chosen

window.size

(integer) The size of the subset (window) to select

increment

(integer) The number of elements by which iteration should advance

post

(function) A post-processing function on the return object having class "data.table" and single column "window"

debug

(logical | FALSE) When TRUE, additional information is printed to console for debugging purposes

...

Additional arguments sent to slide

Sets are the result of forward-moving partitioning:

  1. window.size: The size of each partition (W)

  2. increment: The number of items to increment before selecting the next W items (W + i)

Value

A serialized collection-list of partitions (windows), each window containing a subset of size window.size

See also

Other Data Generation: bin.windows(), make.date_time()