powered by
Applies the Mann-Kendall trend test
MK(y)
A list with the following components:
numeric, p-value of the test
numeric, test statistics
numeric, xtra information: empty for this test
numeric vector, data
y=stats::rnorm(50) MK(y) y=y+0.1*(1:length(y)) MK(y)
Run the code above in your browser using DataLab