lossthis function provides parametric methods (e.g. "horton" and "SCS") to compute loss and direct runoff depths
# S3 method for default
loss(precipitation,lossParams=list(f0=NULL,f1=NULL,k=NULL,CN=NULL),
simulation=c(interval=3600,period=NA),lossMethod)a vector of precipitation time series(mm)
a list: list of parameters associated to the selcted type of lossMethod:
CN for "SCS" and f0, f1, k for "horton"
a vector of simulation interval (in second) and time steps (an integer)
a string including the type of lossMethod: "SCS" and "horton"
a dataframe: including precipitation, loss, and exess rainfall depth