ddff: Function for turning the file into a data.table showing...

Description Usage Arguments Value Examples

View source: R/ddf_function.R

Description

Function for turning the file into a data.table showing precip depth in hourly intervals wit specific frequencies

Usage

1
ddff(dt, freq)

Arguments

dt

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

freq

the frequency to apply to the calculation

Value

data.table of precipitation depth split into durations on basis of hour (D1, D2, D3, D6, D12, D24) and specified frequencies

Examples

1
2
3
4
5
6
## Not run: 

ddff(dta, frequency = c(2,5,10,20))


## End(Not run)

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