Performs Regional Kendall non-parametric test for trend.
regional_kendall(
x,
t = seq_along(x),
r = rep.int(1, length(x)),
type = c("both", "increasing", "decreasing")
)# S3 method for regional_kendall
test_statistic(x, ...)
# S3 method for regional_kendall
p_value(x, ...)
observations
time index
region index
direction to test (both, increasing, or decreasing).
further arguments passed to or from other methods.
test_statistic(regional_kendall)
: Extracts Regional Kendall Z
p_value(regional_kendall)
: Extract Regional Kendall p-value
Gilbert, R.O., 1987. Statistical methods for environmental pollution monitoring.
mann_kendall