rfaplot | R Documentation |
This function uses J.R.M. Hosking's package lmom to produce a L-moment diagram.
rfaplot(lflist, n = 7, ...)
lflist |
A list of | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
n |
MAM-n is used (e.g. n=7 means MAM7). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
... |
Arguments passed on to
|
A list, returned invisibly, describing what was plotted. Useful for customization of the legend, as in one of the examples below. List elements:
lines |
List containing elements describing the plotted distribution curves (if any).
Each element is a vector with the same length as |
twopar |
Character vector containing the 1-character symbols for the two-parameter distributions that were plotted. |
points |
List containing elements describing the plot (if any) of the data points.
List elements |
If any of the above items was not plotted, the corresponding list element is NULL
.
Gustard, A. & Demuth, S. (2009) (Eds) Manual on Low-flow Estimation and Prediction. Operational Hydrology Report No. 50, WNO-No. 1029, 136p. https://library.wmo.int/doc_num.php?explnum_id=7699
lmrd
and lmom-package
which this function wraps.
data(ngaruroro) # Toy example to get some more "rivers" seventies <- subset(ngaruroro, hyear %in% 1970:1979) eighties <- subset(ngaruroro, hyear %in% 1980:1989) nineties <- subset(ngaruroro, hyear %in% 1990:1999) rfaplot(list(seventies, eighties, nineties), n = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.