roll

roll is a package for R that provides fast and efficient computation of rolling statistics for time-series data.

Installation

Get the released version from CRAN:

install.packages("roll")

Or the development version from GitHub:

# install.packages("devtools")
devtools::install_github("jjf234/roll")