- lfobj
An object of class 'lfobj'
or an object which can be coerced to class 'xts'
. Either with a single column or with a column named 'discharge'
.
- event
numeric vector specifying the return periods. E.g. event = 100
will yield the 100 years extreme low flow event.
- probs
Alternate way to specify the return period of the event.
- dist
A character vector of distributions to fit. Basically all distributions provided by Hosking's lmom-package
and their reversed counterparts can be chosen.
- check
logical, should check_distribution
get called?
- zeta
numeric vector of length one for manually setting a lower bound. Only a few distributions allow for a lower bound, namely 'gpa'
, 'ln3'
, 'wak'
and 'wei'
. The default value of NULL
results in not bounding the distribution, therefore the parameter zeta
is estimated.
- zetawei
same as zeta
- plot
logical. If TRUE
, sample observations as well as estimated quantile functions are plotted.
- col
numeric or character vector of length one or as long as dist
, specifying the colour used for plotting.
- log
logical. If TRUE
probabilities will be plotted on a double logarithmic scale.
- legend
logical, should a legend be added to the plot?
- rp.axis
vector of length one, specifying if and how an additional scale bar for the return periods is drawn. Possible choices are 'bottom'
, 'top'
and 'none'
. Alternatively, the position of the scale bar can be specified as an real number between 0 and 1, indicating the y-position of the legend.
- rp.lab
character vector, text above the scale bar for return periods
- freq.axis
logical, should an additional abscissa showing the probabilities be drawn on top of the plot?
- freq.lab
character vector, text above the probability axis
- xlab
character vector, a label for the x axis
- ylab
character vector, a label for the y axis
- hyearstart
vector of length one, providing the start of the hydrological year. This is evaluated by water_year
. The default is, to retrieve the values stored in the attributes of the lfobj
.
- n
Argument 'n' is deprecated and ignored. To apply a moving average, do it prior to calling 'tyears'
. See section Examples.