The Kendall method in order to find the K variance.
vark(x, y)
x | Vector |
---|---|
y | vector |
variance of K for Kendall's tau
Script in C to R.
Numerical Recipes in C. Second Edition.
cor.matrix, cor.vector, cor.mv
library(agricolae) x <-c(1,1,1,4,2,2,3,1,3,2,1,1,2,3,2,1,1,2,1,2) y <-c(1,1,2,3,4,4,2,1,2,3,1,1,3,4,2,1,1,3,1,2) vark(x,y)#> [1] 735.4912