Tom Mock 11/16/2022

Rolling summaries with {slider} in R

Read Original

This technical article provides a tutorial on performing rolling summary analysis in R using the `slider` package. It demonstrates the application of window functions like rolling averages on time-series data, using NFL quarterback Expected Points Added (EPA) statistics as a practical, code-heavy example. The guide covers data loading, filtering, and the core sliding window functions for data analysis.

Rolling summaries with {slider} in R

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week