agricolae (version 1.3-7)

kendall: Correlation of Kendall

Description

Correlation of Kendall two set. Compute exact p-value with ties.

Usage

kendall(data1, data2)

Value

The correlation of data1, data2 vector with the statistical value and its probability

Arguments

data1

vector

data2

vector

Author

Felipe de Mendiburu

References

Numerical Recipes in C. Second Edition. Pag 634

See Also

correlation

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)
kendall(x,y)

Run the code above in your browser using DataLab