Learn R Programming

IETD (version 1.0.0)

AAEA: Average annual number of events analysis

Description

This function provides the required figure to define the inter-event time definition (IETD) based on the average annual number of events analysis.

Usage

AAEA(Time_series,MaxIETD,xlabel,ylabel)

Arguments

Time_series

A dataframe. The first column contains the time and day of a rainfall pulse and the second one the depth of rainfall in each time step. The date must be as POSIXct class.

MaxIETD

The maximum value of IETD to be analyzed (in hours). Default value 24.

xlabel

Label of the x-axis.

ylabel

Label of the y-axis.

Value

A list with the figure of IETD (in hours) vs AAE and a dataframe with its values.

Details

This analysis is based on the computation of the average annual number of events (AAE) for several IETD values, the appropriate value of IETD is determined as the point where increasing IETD does not change AAE significantly Joo2014,Adams2000IETD. The analyst, thus, uses the plot of IETD vs AAE to define that value.

References

Examples

Run this code
# NOT RUN {
AAEA(Time_series=hourly_time_series)
# }

Run the code above in your browser using DataLab