MQ_trend | R Documentation |
Calculating Trend for annual calculated mean values. It is possible to calculate the mean values for a season or for the whole hydrological year.
MQ_trend(data, station, seasonal = Y, graphic = T)
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. |
station |
character; Name of the Station e.g. "COCHEM" - must be named equally like list entry in data. |
seasonal |
character; Possible Inputs: "Y"( MQ Trend of (hydrological) Years); "WI"(MQ Trend of Winters during years); "SP"(MQ Trend of Springs during (hydrological) years); "SU"(MQ Trend of Summers during (hydrological) years); "AU"(MQ Trend of Autums during (hydrological) years) |
graphic |
logical; default=T. For graphic=T, function returns a graph and visualizes the trend. For graphic=F, function returns the model coefficients as list. For the Sens Sloap Approach (using: zyp.trend.vector) and for the linear model approach (using: lm). |
Graphic/ list:
intercept created by zyp.trend.vector
slope created by zyp.trend.vector
significance (Kendall's P-Value) for the final detrended time-series
intercept created by lm
slope created by lm
## Not run: summerplot=MQ_trend(data=mata, "COCHEM", seasonal="SU", graphic=T) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.