seasonpl: Seasonal Plot

View source: R/seasonpl.R

seasonplR Documentation

Seasonal Plot

Description

Function returns discharge plot of a given season at a given station, possible to choose timeframe of multiple years. It allows the user to compare the same season/timespan within different hydrological years. Minimum startmonth: november. Maximum endmonth: october.

Usage

seasonpl(data, station, Startyear, Endyear, month_start, month_end)

Arguments

data

list; River from GRDC - dataset. Output of grdc_readr. Type: list; list entries: measurement stations. For every Station: Date since begin of Measurements (as character) and Value (as numeric).

station

character; Must equal name of station in data.

Startyear

numeric; Startyear.

Endyear

numeric; Endyear.

month_start

numeric; Begin of the season. E.g. Febuary=2

month_end

numeric; End of the seasoan. E.g. August=8

Value

Seasonal plot. The x-axis is scaled by the choosen season.

Examples

## Not run: 
seasonpl(mosel, "COCHEM", 2013, 2017, 2,3)

## End(Not run)


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