tiseger: Plot: timeseries of mulitple measurements

View source: R/tiseger.R

tisegerR Documentation

Plot: timeseries of mulitple measurements

Description

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.

Usage

tiseger(metadata, data, startyear, endyear, frame1, frame2)

Arguments

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

Value

geom_line plot. Every line represents one station.

Examples

## Not run: 
tiseger(metadata, "/Users/username/Desktop/folderone/datafolder/grdc_03_2021/grdc_disc/" , 1990,2020, metadata_repg= metadata_repg)

## End(Not run)


maibrittbergh/dischanalyst documentation built on May 13, 2022, 1:52 a.m.