The Kendall method in order to find the K variance.

vark(x, y)

Arguments

x

Vector

y

vector

Value

variance of K for Kendall's tau

Details

Script in C to R.

References

Numerical Recipes in C. Second Edition.

See also

cor.matrix, cor.vector, cor.mv

Examples

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