rolling_worker: Worker function for calculating rolling trend over a single...

Description Usage Arguments Value

Description

Worker function for calculating rolling trend over a single window (i.e. one of the moving windows)

Usage

1
rolling_worker(d1, obs, pollutant, window.width, stat, avg.ts, verbose)

Arguments

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)

Value

Dataframe of rolling trend for the moving window.


pollylang/aqtrends documentation built on May 20, 2019, 8:24 p.m.