average_length: Calculate average length of extreme events

Description Usage Arguments Value Note Examples

View source: R/exampleApplyFunctions.R

Description

This function takes a dataframe of extreme events, as created by gen_hw_set, and calculates the average length (in days) of events in the dataframe.

Usage

1

Arguments

hw_datafr

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

Value

A numeric value with the average length 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

futureheatwaves documentation built on May 2, 2019, 9:43 a.m.