number_of_heatwaves: Calculate number of extreme_events

Description Usage Arguments Details Value Note Examples

Description

This function takes a dataframe of extreme events, as created by gen_hw_set, and calculates the number of events in the dataframe.

Usage

1

Arguments

hw_datafr

A dataframe of extreme events and their characteristics, as created by gen_hw_set

Details

To calculate the number of extreme events, this function determines the number of rows in the dataframe, since gen_hw_set outputs a dataframe with one and only one row per event.

Value

A numeric value with the number of extreme events in a dataframe of events, as generated by gen_hw_set.

Note

This function is an example of a function that can be created and used to explore extreme events using the apply_all_models function.

Examples

1
2

geanders/futureheatwaves documentation built on May 17, 2019, 12:14 a.m.