Description Usage Arguments Details Value Author(s) Examples
retrieve the (yearly) extremes for a given list of extrema. The two last arguments specify if we want rather minima (Fun=min, tmp='TN') or maxima. This returns the data AND data.frame with the corresponding year.
1 | yearly.extrm(list.y = list_by_years, Fun = max, tmp = "TX")
|
list.y |
List containing numeric vectors of (daily typically) extrema
for each year. Length of |
Fun |
which function to compute, thus here typically max() or min() |
tmp |
Specify if we want 'TX' (max. temp.) or 'TN' (min. temp.) |
Easier to handle for ggplots
List of 2 elements : df
which is a data.frame used
to compute ggplots. data
is the vector of yearly extrema.
Antoine Pissoort, antoine.pissoort@student.uclouvain.be
1 2 3 4 | # For maxima (default)
max_years <- yearly.extrm()
# For minnima
min_years <- yearly.extrm(Fun = min, tmp = "TN")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.