metaMQ: Area-wide MQ-Trend

View source: R/metaMQ.R

metaMQR Documentation

Area-wide MQ-Trend

Description

Function creates dataframe. Stations in metadataset are filtered by the given timeframe. To guarantee comparability between stations the measurement series of the stations are adapted to the time frame and shortened to the of the time frame.

Usage

metaMQ(Startyear, Endyear, metadata, data)

Arguments

Startyear

numeric; Startyear of timerange.

Endyear

numeric; Endyear of timerange.

metadata

data.frame; Overview of GRDC-Dataset. The metadata 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.

Value

dataframe; metadata of stations whose measurement series are at least as long as the given time frame. The Dataframe includes different approaches to calculate the trend of the annual Normalized MQ (within the whole Year/the Spring/the Summer/the Autumn/the Winter)

intercept_zyp

intercept created by zyp.trend.vector

slope_zyp

slope created by zyp.trend.vector

sig_zyp

significance (Kendall's P-Value) for the final detrended time-series

intercept_ls

intercept created by lm

slope_ls

slope created by lm

Examples

## Not run: 
MQtf1820_2019=dataset(1820, 2019, metadata, data)

## End(Not run)





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