Description Usage Arguments Value Author(s) Examples
Obtain trend with Mann-Kendall test, breaking point with Pettitt test and Sen test to have the coefficient of regression
1 |
data |
[zoo] vector with daily, monthly, seasonnal or annual with date in %Y-%m-%d |
List that contains
$res_mk [list] resume of MK test
$symbol_mk [zoo] vector with MK symbol according to pvalue of MK test:
"-" if pvalue > 0.1
"+" if 0.1 > pvalue > 0.05
"++" if 0.05 > pvalue > 0.01
"+++" if pvalue < 0.01
$pettitt [list] resume of Pettitt test
$symbol_pettitt [zoo] vector with Pettitt symbol according to Pettitt test:
"-" if pvalue > 0.1
"+" if 0.1 > pvalue > 0.05
"++" if 0.05 > pvalue > 0.01
"+++" if pvalue < 0.01
$slope [numeric] slope according to Sen test
Florine Garcia (florine.garcia@gmail.com)
Pierre L'Hermite (pierrelhermite@yahoo.fr)
1 2 3 4 | #'## Loading data
data("dailyPrec_bv1")
result <- mk_sen_pettitt(dailyPrec)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.