reachRoutingthis function provides parametric methods (e.g. "horton" and "SCS") to compute loss and direct runoff depths
# S3 method for base
loss(precipitation,lossParams,
simulation,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