agricolae (version 1.2-8)

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

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

References

Numerical Recipes in C. Second Edition. Pag 634

See Also

correlation

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

Run the code above in your browser using DataCamp Workspace