Description Usage Arguments Value Note Examples

View source: R/exampleApplyFunctions.R

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
dataframe.

1 |

`hw_datafr` |
A dataframe of extreme events and their characteristics, as
created by |

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 `apply_all_models`

function.

1 2 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.