Learn R Programming

agricolae (version 1.3-7)

vark: Variance K, ties, Kendall

Description

The Kendall method in order to find the K variance.

Usage

vark(x, y)

Value

variance of K for Kendall's tau

Arguments

x

Vector

y

vector

Author

Felipe de Mendiburu

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
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 DataLab