Description Usage Arguments Note
This function takes a user-specified function and applies is to a
single file of extreme event projections, as specified by hwPath
.
It will generate either a single value for every ensemble member, if
city_specific
is set to FALSE
, or a value for every city, if
city_specific
is set to TRUE
.
1 | apply_hw_projections(hwPath, FUN, city_specific = FALSE, ...)
|
hwPath |
A filepath to a comma-separated (.csv) file with a dataset
of extreme events and their characteristics, as generated by
|
FUN |
A character string giving the name of a function to apply to
the extreme event dataframe in the file specified by |
city_specific |
TRUE or FALSE, specifying whether the function should be applied separately for each study location. |
... |
Optional arguments to |
The function input as FUN
must follow a very specific
structure. It most have only one argument, and that argument
must be a dataframe with extreme events and their characteristics, as
generated by the gen_hw_set
function. See the
futureheatwaves
vignette for more guidance on creating and
applying a custom function to explore the extreme events identified and
characterized by gen_hw_set
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.