calc_7dadm | R Documentation |
Calculate the daily maximum and rolling seven day average of the daily maximums (7DADM) by date from hourly data. The rolling average result is right aligned and indexed to the last day of the seven day period. 'Daily Maximum Temperature' and '7DADM Temperature' are values added to the constituent column.
calc_7dadm(
df,
datetime_col = "datetime",
sim_col = "sim",
dis_col = "model_km",
value_col = "value"
)
df |
The input data frame. df must have the following columns:
These can be generated using the \code{\link{format_outputs}} function. |
datetime_col |
datetime column name. Default is 'datetime'. |
sim_col |
Simulation column name. Default is 'sim'. |
dis_col |
Distance column name. Default is 'model_km'. |
value_col |
Value column name. Default is 'value'. |
data frame with columns 'sim', 'datetime', 'date', value of dis_col
, 'constituent', and 'value'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.