View source: R/exp_unique_event.R
exp_unique_event | R Documentation |
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
exp_unique_event(d, unique_day, weeks_before, weeks_after, pol, period)
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 |
dataframe ready for timeVariation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.