loss {RHMS} | R Documentation |
Excess rainfall computation
Description
this function provides methods (e.g. "horton"
and "SCS"
) to compute loss and direct runoff depths
Usage
loss(precipitation,lossMethod,lossParams)
Arguments
precipitation |
a vector of precipitation time series(mm) |
lossMethod |
a string including the type of lossMethod: |
lossParams |
a list of parameters associated to the selcted type of
|
Value
a dataframe: including precipitation, loss, and exess rainfall depth
Author(s)
Rezgar Arabzadeh
See Also
Examples
precipitation<-sin(seq(0.1,pi-0.1,length.out=20))*30
lossParams<-list(f0=20,f1=5,k=2,timeInterval=3600,CN=65)
lossMethod<-c("horton","SCS")
(Horton_loss<-loss(precipitation,lossMethod[1],lossParams))
(SCS_loss<-loss(precipitation,lossMethod[2],lossParams))
[Package RHMS version 1.7 Index]