# S3 method for units
lagtime(hl, uc, method = 1, ...)
# S3 method for stars
lagtime(hl, ...)
# S3 method for transfR
lagtime(hl, verbose = TRUE, ...)
Value
A numeric value of class units, or if hl is a transfR object,
the same transfR object incremented by the "lagtime" attribute.
Arguments
hl
hydraulic length of class transfR or stars or matrix or vector.
If no unit is provided, hl is assumed to be in [m].
...
further arguments passed to or from other methods
uc
streamflow velocity. If no unit is provided, uc is assumed to be in [m/s].
method
integer describing the method to use for lag time estimation. Possible values: 1 (see details).
verbose
boolean indicating if information messages should be written to the console.
Details
The function estimates the lag time of the catchment. It can be used to estimate one of the
inputs of the function rapriori. If method is 1, the lag time is estimated
from the ratio of the mean hydraulic length (hl) and the average streamflow velocity (uc).