tiseger | R Documentation |
Function plots timeseries within a certain timeframe.To provide clarity the function reduces the amount of displayed timeseries if the number of stations with measurements >= 20.The plotted timeseries then are reduced to the most representative timeseries within the timeframe.
tiseger(metadata, data, startyear, endyear, frame1, frame2)
metadata |
"matrix" "array" ; Metadata of grdc dataset. Can be created by metadata_grdc function. |
data |
list; Contains all stations that the discharge analysis should consider. List can be created by grdc_list. Each entry of the list contains the existing discharge measurements (as numeric) and the corresponding dates (as character) for the station. |
startyear |
integer; Last possible startyear of timeseries. Minimum of xlim for plot. |
endyear |
integer; Minimum endyear of timeseries. maximum of xlim for plot. |
frame1 |
minimum of Y-axis -resolution |
frame2 |
maximum of X-axis - resolution |
geom_line plot. Every line represents one station.
## Not run: tiseger(metadata, "/Users/username/Desktop/folderone/datafolder/grdc_03_2021/grdc_disc/" , 1990,2020, metadata_repg= metadata_repg) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.