Usum_period: Sum of Days under U within all measurements

View source: R/Usum_period.R

Usum_periodR Documentation

Sum of Days under U within all measurements

Description

Function returns sum of days under value U within all measurements.

Usage

Usum_period(U, station, data)

Arguments

U

numeric; Limit Value.

station

character; Name of the Station e.g. "COCHEM" - must be named equally like list entry in data.

data

list; Contains all stations that the discharge analysis should consider. List can be created by grdc_list. Each entry of the list contains the existing discharge measurements (as numeric) and the corresponding dates (as character) for the station.

Value

numeric; sum of days.

Examples

## Not run:  Usum_period(88, "TRIER UP", mosel)

maibrittbergh/dischanalyst documentation built on May 13, 2022, 1:52 a.m.