exp_unique_event: Unique Event Experiment

View source: R/exp_unique_event.R

exp_unique_eventR Documentation

Unique Event Experiment

Description

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

Usage

exp_unique_event(d, unique_day, weeks_before, weeks_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"

weeks_before

numerical number of weeks preeceeding to include average days from

weeks_after

numerical number of weeks 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.