Kendall: Kendall rank correlation and Mann-Kendall trend test
ケンドールの順位相関とマン―ケンドールの検定
- CRAN: http://cran.r-project.org/web/packages/Kendall/index.html
- URL: http://www.stats.uwo.ca/faculty/aim
> library(Kendall)
Error: package or namespace load failed for 'Kendall'
バージョン: 2.2
関数名 | 概略 |
---|---|
GuelphP |
Phosphorous Concentrations in Speed River, Monthly |
Kendall |
Kendall rank correlation |
Kendall-package |
Kendall correlation and trend tests. |
MannKendall |
Mann-Kendall trend test |
PrecipGL |
Annual precipitation, inches, Great Lakes, 1900-1986 |
SeasonalMannKendall |
Mann-Kendall trend test for monthly environmental time series |
print.Kendall |
print Method for Class 'Kendall' |
summary.Kendall |
summary Method for Class 'Kendall' |
> A <- c(2.5, 2.5, 2.5, 2.5, 5, 6.5, 6.5, 10, 10, 10, 10, 10, 14, 14, 14, 16, 17)
> B <- c(1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2)
> Kendall(A, B) %>% summary()
Error in rates[, 2]: incorrect number of dimensions
> cor(A, B, method = "kendall")
[1] 0.4075438