RSlidingWindow: RSlidingWindow

Description Usage Arguments

Description

A fast and simple sliding window tool for R.

Usage

1
2
RSlidingWindow(x, length.sw, by.sw = 1, method.sw = "mean",
  keep.cut = TRUE)

Arguments

x

A numeric vector.

length.sw

An integer, length of the windows.

by.sw

An integer, steps between each window [default: 1].

method.sw

A string, name of the method to use (see details) [default: "mean"].

keep.cut

A boolean, indicating if the last window must be kept if it is uncompleted [default: TRUE].


hdevillers/RSlidingWindow documentation built on May 8, 2019, 9:55 p.m.