Skip to contents

Extract and build the return period matrix for each sector and flood event, with an average aggregation row "global" if multiple sectors exist.

Usage

prepare_period(case)

Arguments

case

An object of class Case.

Value

Numeric matrix of return periods (sectors in rows, flood events in columns), including a "global" row if multiple sectors are defined.

Details

For each sector defined in case, the return periods associated with each flood event are extracted into a matrix. If more than one sector is present, an additional row named "global" is added, containing the column-wise average return period across sectors.

Author

Frédéric Grelot, frederic.grelot.1994_cran@m4x.org