Learn R Programming

agricolae (version 1.0-4)

kendall: Correlation of Kendall

Description

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

Usage

kendall(data1, data2)

Arguments

data1
vector
data2
vector

Value

  • data1Numeric
  • data2Numeric

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