sample_mk_function: Sample MK trend test function

View source: R/sample_mk_function.R

sample_mk_functionR Documentation

Sample MK trend test function

Description

This function is an example of a valid function as an input to the multiple testing correction function. Autocorrelation lag 1 , r, is estimated and removed from each grid cell time series ,x_t, so thatso that the new time series is y_t = x_t - rx_t-1

Usage

sample_mk_function(x)

Arguments

x

time series at a single grid cell

Value

Mann-Kendall's trend test Z score, corrected for autocorrelation


jcortesr/PerMuTe documentation built on July 31, 2023, 8:03 a.m.