This function takes a dataframe of extreme events, as created by
gen_hw_set, and calculates the average of the variable
(e.g., temperature0 during each extreme event across all events in the
A dataframe of extreme events and their characteristics, as
A numeric value with the average variable
during all heat waves for a dataset of heat waves, as generated by
gen_hw_set. This value is the mean of the average variable
within each event, not the average variable across all
event days (to calculate that, you would need to calculate a weighted
mean, weighted by the number of days in each heat wave).
This function is an example of a function that can be created and
used to explore extreme events using the
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.