sen.slope: Sen's slope estimate

Description Usage Arguments Value Author(s) References

View source: R/sen_slope.R

Description

It computes the median of the slopes for each interval (xj - xi) / (j - i), j>i (see Gilbert 1987) The confidence limits are compute with an interpolation that is important is the number of data is small, such as yearly averages for a 10 year's trend.

Usage

1
sen.slope(data, epoch.time, vari, alpha.cl = 90)

Arguments

data

a vector of observed data

epoch.time

vector of integer times (e.g. days) from the epoch

vari

Kendall variance as calculated by Kendall.var

alpha.cl

confidence level for the confidence limit (90 or 95; default: 90)

Value

slope Sen's slope

LCL slope lower confidence limit

UCL slope upper confidence limit

Author(s)

Martine Collaud Coen (martine.collaud@meteoswiss.ch), MeteoSwiss (CH) and Alessandro Bigi (abigi@unimore.it), University of Modena and Reggio Emilia (IT)

References

Collaud Coen, M., Andrews, E., Bigi, A., Romanens, G., Martucci, G., and Vuilleumier, L.: Effects of the prewhitening method, the time granularity and the time segmentation on the Mann-Kendall trend detection and the associated Sen's slope, Atmos. Meas. Tech., https://doi.org/10.5194/amt-2020-178, 2020.


mannkendall/R documentation built on Feb. 2, 2022, 7:31 p.m.