agricolae (version 1.2-8)

vark: Variance K, ties, Kendall

Description

The Kendall method in order to find the K variance.

Usage

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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataCamp Workspace