getMX: Get annual maxima from data.table

Description Usage Arguments Value Examples

View source: R/get_maxima_function.R

Description

Get annual maxima from data.table

Usage

1
getMX(dta, a = 1)

Arguments

dta

data.table including the fields date (datum) and p (precipitation in kg/s)

a

number of intervals to aggregate over in hours

Value

ata.table with year, aggregation and maxima

Examples

1
2
3
4
5
6
## Not run: 

getMX(dta, a = c(1,3,6))


## End(Not run)

kazivana/precipmodeling documentation built on Jan. 1, 2021, 7:16 a.m.