Learn R Programming

⚠️There's a newer version (1.1.7) of this package.Take me there.

roll

roll is a package for R that provides parallel functions for computing rolling statistics of time-series data.

Examples

"Multi-asset principal component regression using RcppParallel," R/Finance: Applied Finance with R, May 2016, Chicago, IL: http://www.rinfinance.com/agenda/2016/talk/JasonFoster.pdf

Installation

Get the released version from CRAN:

install.packages("roll")

Or the development version from GitHub:

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

Copy Link

Version

Install

install.packages('roll')

Monthly Downloads

3,594

Version

1.0.6

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Jason Foster

Last Published

September 19th, 2016

Functions in roll (1.0.6)

roll_lm

Rolling Linear Models
roll_scale

Rolling Scaling and Centering
roll_sd

Rolling Standard Deviations
roll_eigen

Rolling Eigenvalues and Eigenvectors
roll_cor

Rolling Correlation Matrices
roll_pcr

Rolling Principal Component Regressions
roll_var

Rolling Variances
roll_mean

Rolling Means
roll_cov

Rolling Covariance Matrices
roll_vif

Rolling Variance Inflation Factors