Description Usage Arguments Value Examples
View source: R/sccwrpwbe_functions.R
Covid Lag takes in Main 'data' which has an aggregate total of cases and will calculate lag differences between cases over 'n' days. Covid lag will also take in an offset value and shift the concentration measurements by 'offset' days to line up with the new case count. For example if offset = 7 concentration measurements recorded on '2020-04-20' will be shifted to align with new cases recorded on '2020-04-27'. In addition the CC parameter can be set to TRUE to take the difference in concentrations as well.
1 |
data |
Main data for Pt loma or Hyperion |
offset |
Number of days to shift concentrations |
n |
Number of days of differencing for running cases count to go to new cases |
CC |
CC = TRUE to also difference concentration n days |
Df with Cases_Offset column recording the new case count for the given day
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.