NMxQ_trend | R Documentation |
Function calculates for every year within measurements NMxQ Value (Description: NMxQ). It returns a trend: Sens Sloap Trend and Linear Trend. The Trend can be calculated for a specific season or for a whole year.
NMxQ_trend(data, station, x, 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. |
x |
numeric; Length of period (days). With decreasing Values for x , the influence of short-term anthropogenic influences increases. E.g. x=7, x=14, x=30 |
seasonal |
character; default= "Y". 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: list=NMxQ_trend(data, "COCHEM", 4, graphic=F) list_SUMMER=NMxQ_trend(mata, "COCHEM",4, seasonal="SU", graphic=F) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.