lossthis function provides parametric methods (e.g. "horton" and "SCS") to compute loss and direct runoff depths
# S3 method for default
loss(precipitation,lossMethod,
lossParams=list(f0=NULL,
f1=NULL,
k=NULL,
timeInterval=NULL,
CN=NULL,
imperviousness=NULL))a vector of precipitation time series(mm)
a string including the type of lossMethod: "SCS" and "horton". default to "SCS" method
a list of parameters associated to the selcted type of lossMethod:
the curve number, CN, and imperviousness in precentage for "SCS" method
f0, f1, k for "horton" method
timeInterval: the interval of each steps in seconds needed for "horton" method
a dataframe: including precipitation, loss, and exess rainfall depth