MK {HydroPortailStats}R Documentation

Mann-Kemdall Test

Description

Applies the Mann-Kendall trend test

Usage

MK(y)

Arguments

y

numeric vector, data

Value

A list with the following components:

pval

numeric, p-value of the test

stat

numeric, test statistics

xtra

numeric, xtra information: empty for this test

Examples

y=stats::rnorm(50)
MK(y)
y=y+0.1*(1:length(y))
MK(y)

[Package HydroPortailStats version 1.0.3 Index]