Learn R Programming

TTAinterfaceTrendAnalysis (version 1.5.9)

seasonTrend: Determine seasonal trends (code modified from the former wq package)

Description

Finds the trend for each season and each variable in a time series.

Usage

seasonTrend(x, ...)

Value

A data frame with the following fields:

series

series names

season

season number

sen.slope

Sen slope in original units per year

sen.slope.rel

Sen slope divided by median for that specific season and series

p

p-value for the trend according to the Mann-Kendall test.

missing

Proportion of slopes joining first and last fifths of the data that are missing

Arguments

x

Time series vector, or time series matrix with column names

...

Further options to pass to plotting function

Author

Alan D. Jassby and James E. Cloern

See Also

mannKen