kendall {agricolae} | R Documentation |
Correlation of Kendall two set. Compute exact p-value with ties.
kendall(data1, data2)
data1 |
vector |
data2 |
vector |
data1 |
Numeric |
data2 |
Numeric |
Felipe de Mendiburu
Numerical Recipes in C. Second Edition. Pag 634
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)