mannKen: Mann-Kendall trend test and the Sen slope (code modified from...

View source: R/mannKen.R

mannKenR Documentation

Mann-Kendall trend test and the Sen slope (code modified from the former wq package)

Description

Applies Kendall's tau test for the significance of a monotonic time series trend. Also calculates the Sen slope as an estimate of this trend.

Usage

  
  mannKen(x, ...)

Arguments

x

A numeric vector, matrix or data frame

...

Other arguments to pass to plotting function

Value

A list of the following if x is a vector:

sen.slope Sen

slope

sen.slope.rel

Relative Sen slope

p.value

Significance of slope

S

Kendall's S

varS

Variance of S

miss

Fraction of missing slopes connecting first and last fifths of x or a matrix with corresponding columns if x is a matrix or data frame.

Author(s)

Alan D. Jassby and James E. Cloern

See Also

seaKen seasonTrend


TTAinterfaceTrendAnalysis documentation built on March 31, 2023, 6:12 p.m.