exp_unique_event_days: Unique Event Experiment Days

View source: R/exp_unique_event_days.R

exp_unique_event_daysR Documentation

Unique Event Experiment Days

Description

Variation on Unique Event Experiment Produces a diurnal of a given day, and provides a comparison to the same type of day for given days in the past and/or future e.g. Sunday 6th November 2016 is compared to an average of the preceeding 4 and following 4 days

Usage

exp_unique_event_days(d, unique_day, day_before, day_after, pol, period)

Arguments

d

dataframe containing the time series to apply the experiment to

unique_day

the date of the unique event in the format "2016/11/06"

day_before

numerical number of days preeceeding to include average days from

day_after

numerical number of days following to include average days from

pol

pollutant to perform experiment on - only handles one pollutant at a time

Value

dataframe ready for timeVariation


willdrysdale/wsdmiscr documentation built on Aug. 26, 2023, 12:31 a.m.