slider: Sliding Window Functions

Provides type-stable rolling window functions over any R data type. Cumulative and expanding windows are also supported. For more advanced usage, an index can be used as a secondary vector that defines how sliding windows are to be created.

Package details

AuthorDavis Vaughan [aut, cre], Posit Software, PBC [cph, fnd]
MaintainerDavis Vaughan <davis@posit.co>
LicenseMIT + file LICENSE
Version0.3.1
URL https://github.com/r-lib/slider https://slider.r-lib.org
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("slider")

Try the slider package in your browser

Any scripts or data that you put into this service are public.

slider documentation built on Oct. 12, 2023, 5:11 p.m.