seasTrend: Seasonality trend 1960:2010

Description Usage Arguments Value Author(s) See Also Examples

View source: R/seasTrend.R

Description

Seasonality trend 1960:2010

Usage

1
2
3
4
seasTrend(n, disdf = get("dis"), RP = 1.2, plot = TRUE, map = FALSE,
  trex = TRUE, peak = TRUE, startmonth = 1, nmonths = 12,
  legpos = "left", trendargs = NULL, legargs = NULL, shift = 61,
  seasargs = NULL, ...)

Arguments

n

Character: Name of gauge to be analyzed, see gnames

disdf

Dataframe with columns "date" and n. DEFAULT: dis

RP

Return Period for threshold. DEFAULT: 1.2

plot

Logical: plot result? DEFAULT: TRUE

map

Logical: draw minimap? DEFAULT: FALSE

trex

Logical: Plot trend for threshold excesses? DEFAULT: TRUE

peak

Logical: Plot trend for annual peaks of threshold excesses? DEFAULT: TRUE

startmonth

Integer between 1 and 12. To select which months are used in the trend analysis. DEFAULT: 1

nmonths

Integer between 1 and 12. Hom many months are used? DEFAULT: 12

legpos

Position of trend info legend. DEFAULT: "left"

trendargs

List of further arguments for trend info. DEFAULT: NULL

legargs

List of arguments for Streamflow legend via colPointsLegend. DEFAULT: NULL

shift

Shift passed to seasonality. DEFAULT: 61

seasargs

List of arguments passed to seasonality, like e.g. seasargs=list(xaxt="n"). DEFAULT: NULL

...

Further arguments passed to linReg

Value

Vector with RP, threshold, lm coefficients both for all threshold exceedances and annual peaks of those

Author(s)

Berry Boessenkool, berry-b@gmx.de, Sep 2017

See Also

rfsApp("trend")

Examples

1
2
3
4
load(seasFolder("data/dismeta.Rdata"))
seasTrend("Koeln")
seasTrend("Koeln", seasargs=list(xaxt="n", tlab="Empty"))
seasTrend("Koeln", legargs=list(y1=0.7, y2=0.95))

ERottler/rfs documentation built on May 20, 2019, 3:04 p.m.