Description Usage Arguments Value
Worker function for calculating rolling trend over a single window (i.e. one of the moving windows)
1 | rolling_worker(d1, obs, pollutant, window.width, stat, avg.ts, verbose)
|
d1 |
Date of the starting year of the moving window for which to calculate the rolling trend |
pollutant |
Pollutant for which to calculate rolling trend |
window.width |
Width of the moving window |
stat |
Statistic used to average data (mean, median) |
Dataframe of rolling trend for the moving window.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.